【问题标题】:Capistrano error: Error validating server certificateCapistrano 错误:验证服务器证书时出错
【发布时间】:2009-12-03 11:05:10
【问题描述】:

当我尝试使用 Capistrano 部署我的 Ruby on Rails 应用程序时,我收到以下错误:

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:

有人对如何解决这个问题有任何想法吗?

【问题讨论】:

    标签: ruby-on-rails capistrano deployment


    【解决方案1】:

    尝试从命令行运行:

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

    然后尝试从 capistrano 运行它。

    【讨论】:

      【解决方案2】:

      您正在尝试使用 SSL 连接。而且您以前从未在该主机上这样做过。

      您必须先手动结帐一次并永久接受 SSL 证书。
      然后您的主机将能够签出您的 svn 存储库。

      【讨论】:

        猜你喜欢
        • 2015-06-30
        • 1970-01-01
        • 2017-08-06
        • 2014-04-10
        • 2014-06-29
        • 1970-01-01
        • 2018-07-19
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多