VisualSVN服务器上的提交后挂钩中的“验证服务器证书时出错”错误

时间:2014-02-17 22:05:01

标签: svn ssl visualsvn-server post-commit

我在visual svn中使用post commit hook。我正在尝试检出提交到存储库的文件:

当我提交文件时,我在post commit hook中收到以下错误:

D:\Program Files\VisualSVN Server>"D:\Program Files\VisualSVN Server\bin\svn.exe" checkout https://***.**.**/svn/Mobile/Node/trunk C:\MyProject 
Error validating server certificate for 'https://***.***.**:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: ALPHADEV.phipaper.dom
 - Valid: from Tue, 23 Feb 2010 21:36:08 GMT until Fri, 21 Feb 2020 21:36:08 GMT
 - Issuer: ALPHADEV.phipaper.dom
 - Fingerprint: 8a:33:33:56:00:56:44:4f:6d:d3:80:c5:ba:79:1a:cd:7a:f3:27:84
(R)eject, accept (t)emporarily or accept (p)ermanently?

如何解决此问题

1 个答案:

答案 0 :(得分:2)

使用--trust-server-cert --non-interactive其他选项进行结帐