svn命令行错误“服务器证书验证失败:发行者不受信任”;我该如何解决该错误?

问题描述:

我有CCNET构建服务器设置。当我定义

I have CCNET build server setup. I get above error when i define

   <sourcecontrol type="svn">
     <executable>c:\Program Files\VisualSVN Server\bin\svn.exe</executable>
     <trunkUrl>https://test-server.local/svn/test/Websites/test.com/trunk</trunkUrl>
     <workingDirectory>D:\Program Files\mypath</workingDirectory>
     <username>user</username>
     <password>password</password>
   </sourcecontrol> 

我得到服务器证书验证失败:发行者不受信任test-server.local 如何解决此错误?我正在使用ccnetservice运行CCNET。

in my ccnet.config I get Server certificate verification failed: issuer is not trusted test-server.local" how can I resolve this error? I am running CCNET with ccnetservice.

您是否尝试使用http而不是https? / p>

Have you tried using http instead of https?

<trunkUrl>http://test-server.local/svn/test/Websites/test.com/trunk</trunkUrl>

评论后:

尝试这:在构建代理上进行本地svn签出,您可能会遇到相同的错误,并且在永久接受证书后仍可以继续操作,那么您也应该可以从ccnet使用该帐户。

Try this : Do a local svn checkout on the build agent, you will probably get the same error and be able to proceed after you permenantly accept the certificate. Then you should be able to use from ccnet as well. Make sure the account which you are logged on when manually doing it and the account ccnet is running are same.

http://danhounshell.com/blog/subversion-error-cert ificate-verification-failed-with-cruisecontrol-net /