2009-12-03 8 views
1

Quand j'ai essayé de déployer mon application Ruby on Rails en utilisant Capistrano, j'ai reçu l'erreur suivante:erreur Capistrano: validation erreur certificat de serveur

cap deploy 

* executing `deploy' 
* executing `deploy:update' 
** transaction: start 
* executing `deploy:update_code' 
executing locally: "svn info https://digitalsleep.svn.beanstalkapp.com/centralbank/ -rHEAD" 
svn: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/libaprutil-1.so.0) 
svn: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/libpq.so.5) 
* executing "svn checkout -q -r66 https://digitalsleep.svn.beanstalkapp.com/centralbank/ /home/monkeyg/centralbank/releases/20091203102124 && (echo 66 > /home/monkeyg/centralbank/releases/20091203102124/REVISION)" 
    servers: ["67.23.24.230"] 

    [67.23.24.230] executing command 

** [67.23.24.230 :: err] Error validating server certificate for 'https://digitalsleep.svn.beanstalkapp.com:443': 

** - The certificate is not issued by a trusted authority. Use the 
** fingerprint to validate the certificate manually! 

** Certificate information: 
** - Hostname: *.svn.beanstalkapp.com 
** - Valid: from Thu, 05 Mar 2009 15:23:20 GMT until Wed, 14 Apr 2010 03:34:53 GMT 
** - Issuer: 07969287, http://certificates.godaddy.com/repository, GoDaddy.com, Inc., Scottsdale, Arizona, US 
** - Fingerprint: b0:3b:ea:3a:72:2c:87:30:75:d3:7d:2b:01:4b:ec:d6:45:38:8f:25 
** (R)eject, accept (t)emporarily or accept (p)ermanently? 

** [67.23.24.230 :: err] Authentication realm: <https://digitalsleep.svn.beanstalkapp.com:443> SVN 
** Password for 'root': 

** [67.23.24.230 :: err] Authentication realm: <https://digitalsleep.svn.beanstalkapp.com:443> SVN 
** Username: 

Est-ce que quelqu'un a des idées sur la façon de résoudre ce problème?

Répondre

3

Essayez de lancer à partir de la ligne de commande:

svn info https://digitalsleep.svn.beanstalkapp.com/centralbank/ -rHEAD 

ensuite essayer de l'exécuter à partir Capistrano.

1

Vous essayez de vous connecter avec SSL. Et vous n'avez jamais fait ça auparavant sur cet hôte.

Vous devez effectuer une extraction manuelle une première fois et accepter définitivement le certificat SSL.
Ensuite, votre hôte sera en mesure de vérifier votre référentiel svn.

+0

Comment puis-je faire cela pouvez-vous m'aider avec cela .... – palani