Svn command line error "Server certificate verification error: issuer is not trusted", how can I fix this error?

I have a CCNET build server setup. I get the 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> 

in my ccnet.config I get a server certificate verification: the issuance is not verified test-server.local "how can I solve this error? I am running CCNET with ccnetservice.

+4
source share
3 answers

Have you tried using http instead of https?

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

After the comment:

Try the following: do a local svn check in the build agent, you will probably get the same error and be able to continue working after you can accept the certificate. Then you can also use ccnet. Make sure that the account you are logged into when it is manually executed, as well as the ccnet account, work the same.

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

+1
source

To accept the SSL exception for the local CruiseControl.Net user account:

Accept SSL certificate on an ongoing basis

Log in to the server hosting CruiseControl.Net using the account used by the cruise control system. Open a command prompt and type: svn list https: //. When prompted to accept a certification exception, type "p" forever.

-1
source

I disagree with the other answers here, as they do not deal with the real problem, but simply provide workarounds.

If you use HTTPS, you must sign the certificate either with a trusted domain certification authority or with a third partner. This is the real solution: use a valid and reliable signed certificate.

-2
source

All Articles