I am getting the below build error :
[ERROR] The svn blame command [svn blame --xml --non-interactive -x -w xxxxx.java] failed: svn: E230001: Unable to connect to a repository at URL 'xxx-xxxx.java'
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted
I am using Subversion Edge by Collabnet with jenkins to run the build. Could you please help me out?
Here is the wording of the error message:
The error you are getting "Server SSL certificate verification failed: issuer is not trusted" means that there is a problem with the certificate installed on SVN Edge server. The client does not trust the certificate and displays the error. Therefore, you should look into the certificate-related problems on CollabNet Subversion Edge server.
The only possible way to ignore the error is to use
--trust-server-certcommand line option. You also have to add--non-interactiveoption because your CI machine runs the Subversion client non-interactively.If you use Subversion 1.9 client, you can also use
--trust-server-cert-failuresoption which is intended to ignore a wider range of invalid certificates than--trust-server-certthat can only ignore certificates issued by unknown or not trusted certificate authority.