Search code examples
svnjenkinsjenkins-pipeline

Jenkins: Server SSL certificate verification failed - issuer is not trusted


I am working with Jenkins to auto build. I call a batch file in jenkins:

call Setup_trunk_01.bat

The code of Setup_trunk_01.bat is:

svn propset svn:externals "https://svn02/vc/disney_kingdom_iphone/branches/maintenance/update12_gungho@90987 trunk" .
svn update .

and I have the error: svn: E230001: Server SSL certificate verification failed: issuer is not trusted

When I call it manually, it works. But I can't change the code of Setup_trunk_01.bat. I think the problem is in the credentials. But I don't know what exactly error to fix.


Solution

  • I guess that your SVN server has is using self-signed SSL certificate for HTTPS. You should contact the system administrator and ask him to apply a valid server certificate that's signed by a trusted certificate authority.

    You can also make SVN client ignore this certificate warning by adding --trust-server-cert command line option to your command. BTW, don't forget to add --non-interactive option to your commands, too.