【发布时间】:2012-02-13 08:15:04
【问题描述】:
我正在管理一个基于 subversion 的构建系统,我们为服务器使用自签名 ssl。因此,有时我们会遇到构建失败,因为添加了一台新机器并且它无法结帐,因为这是该机器第一次联系 svn 服务器。
错误信息如下:
icasimpan ~$ svn ls https://scm.myserver.com/trunk
Error validating server certificate for 'https://scm.myserver.com:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: scm.myserver.com
- Valid: from Mon, 05 Dec 2011 00:00:00 GMT until Tue, 11 Dec 2012 23:59:59 GMT
- Issuer: Terms of use at https://www.verisign.com/rpa (c)10, VeriSign Trust Network, VeriSign, Inc., US
- Fingerprint: c0:69:f6:67:8d:1f:d2:85:c1:94:9f:59:8e:81:cc:81:3d:1e:44:28
(R)eject, accept (t)emporarily or accept (p)ermanently?
我通常需要的是类似于 --insecure 参数的 curl。现在,我们的解决方法是执行一些简单的 svn 命令,这样我们就可以“永久”回答问题并且问题将得到解决……至少在 ssl 证书再次更改/更新或构建完成之前另一个新的机器。
有人解决了这个问题吗?
提前致谢:)
【问题讨论】:
标签: svn ssl version-control