Developer --} Tester --} QA? Senior Tester ? Lead ? Manager?

CC.NET编译失败之SVN证书过期

上一篇 / 下一篇  2010-06-11 21:39:40 / 个人分类:烂笔头

早上用CC.NET进行每日编译,结果马上就报错了。
 
看到如此的日志
ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: OPTIONS of 'https://10.10.120.4:7443/svn/xxx/ABCD/trunk': Server certificate verification failed: certificate has expired, issuer is not trusted (https://10.10.10.4:7443)
. Process command: D:\Program Files\svn-win32-1.6.6\bin\svn.exe loghttps://10.10.10.4:7443/svn/xxx/ABCD/trunk-r "
 
证书过期,不受信任。
 
google之后,用一个解决方案尝试之:
由于CC.NET所使用的SVN客户端是那个命令行形式的,只能通过命令行来执行
Error validating server certificate for  'https://10.10.10.4:7443/':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- The certificate hostname does not match.
- The certificate has expired.
Certificate information:
- Hostname:10.10.10.4:7443
- Valid: from Fri, 23 Jan 2004 15:37:06 GMT until Sat, 22 Jan 2005 15:37:06 GMT
- Issuer: Webserver, The Next Generation, Elverum, Hedmark, NO
- Fingerprint: e1:71:1c:fa:d2:2f:de:56:00:cf:73:e3:d8:9b:eb:99:a4 :e5:9d:12
(R)eject, accept (t)emporarily or accept (p)ermanently? svn: PROPFIND
 
错误已经在说证书过期了,需要对此作出回应
输入r,拒绝
输入t,暂时接受
输入p,永久接受
 
输入p,回车,能正常看到目录了,再回到CC.NET编译,成功。
 
目前看来这种解决没有什么问题
 
 

TAG: svn SVN 证书 certificate expired 永久接受

 

评分:0

我来说两句

Open Toolbar