Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted

2,660 views
Skip to first unread message

Kapila

unread,
Dec 2, 2015, 7:58:19 AM12/2/15
to ccnet-user
ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: E230001: Unable to connect to a repository at URL 'https://url' svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted . Process command: C:\Program Files\TortoiseSVN\bin\svn.exe log https://url -r "{2015-12-02T09:55:53Z}:{2015-12-02T09:55:58Z}" --verbose --xml --username user--password ******** --no-auth-cache --non-interactive at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo) at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetModifications(IIntegrationResult from, IIntegrationResult to) at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModificationsWithLogging(ISourceControl sc, IIntegrationResult from, IIntegrationResult to) at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild) at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to) at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)

I tried the following solution.

can you try to run svn checkout once manually to your URL https://yoururl/trunk C:\ant-1.8.1\Test_Checkout using command line and accept certificate.Or as 

@AndrewSpear says below

Rather than checking out manually run svn list https://your.repository.url from Terminal (Mac) / Command Line (Win) to get the option to accept the certificate permanently

svn will ask you for confirmation. accept it permanently.

it ask for the confirmation and everything went smoothly. but still I'm getting the same error.

Ruben Willems

unread,
Dec 2, 2015, 8:03:44 AM12/2/15
to ccnet...@googlegroups.com
Hi

run ccservice with the same domain account as the one you accepted the certificate with.

that should solve it.

or you can import the certificate at the machine level, iso at the user level
certmgr.msc

with kind regards
Ruben Willems



--

---
You received this message because you are subscribed to the Google Groups "ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ccnet-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kapila

unread,
Dec 4, 2015, 6:17:10 AM12/4/15
to ccnet-user
Hi Ruben,

Thanks for your reply.

I have added the certificate. but still there is no luck. in ccservice svn login different from the ccservice login. So i couldn't run ccservice from that account
Reply all
Reply to author
Forward
0 new messages