If you are trying to use a SVN material with a self signed certificate, it is likely that you will run in to the following error:
svn: Malformed URL SVN_URL Error performing command: --- Command --- svn --username USERNAME --password ****** log --non-interactive --xml -v --limit 1 SVN_URL --- Environment --- {} --- INPUT ---- --OUTPUT --- --- ERROR --- ERROR: svn: OPTIONS of
Server certificate verification failed: issuer is not trusted
To solve, please run the following from the command-line on Go Server and Go Agents :
svn log SVN_URL
You should be prompted to accept the certificate. After which checkout operation should not fail.
Comments
7 comments
Do you mean the command line on the server running Go Server or are you referring to something within Go Server.
I have installed Go Server as a trial on my local windows PC and have run svn log on my command prompt but I'm not prompted for a certificate and I still get this error. If you clarify the above, that would be great.
Andrew,
Your assumption is correct. The command has to be run from the command line on the server running Go. Please confirm if you are running the command from the account which owns the Go Service.
Arun
thanks. have bounced Go Server and it's working so a restart did the trick. Thanks for your help.
I tried the above command in command prompt as below
svn log https://ip-address/svn/SVNRepository/trunk/Src/Framework
But it didn't prompt for accept the certificate. Instead it propted for user id and password. Again Iam getting same issue. i.e ERROR: svn: E230001: Unable to connect to a repository at URL 'https://10.53.98.160/svn/SVNRepository/trunk/Src/Framework' ERROR: svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted.
Can someone help me.
Thanks in advance
Hi Jayaprakash,
Did you run the command as 'go' user i.e. the user under which Go Server & Agents are running. If the command does not prompt for password then Go Server / Agent also should not be facing the error. Please check & revert.
Going ahead please use Go users / Go developers Google group to discuss this further. You will find the links here: http://www.go.cd/community.
Regards,
Srinivas
hai..
i cannot add svn materials to pipeline...anyone give me a suggestion??
failed to find 'svn' on your path. please ensure 'svn' is executable by the go server
getting this error..
But what if I Go is launched as a windows service?
I am getting the same error: "issuer not trusted"
Please sign in to leave a comment.