Subversion OSX error with SCPlugin

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

Been pulling my hair out (or would’ve been had I any left to pull) for the past couple of hours with this horrible little problem…

I’d uninstalled SCPlugin as I was having problems with a branch which had spaces in its folder title*. I then installed the newer version only to find I was getting the following message:

Subversion error: Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted. [https://path.to.your/subversion/folder]

After casting around and finding this solution from project founder, Jack Repenning, just didn’t work for me, I came across this working solution by Virgilio Favero which states:

Open one terminal window and type:

/Library/Contextual\ Menu\ Items/SCFinderPlugin.plugin/Contents/Resources/SCPluginUIDaemon.app/Contents/bin/svn ls https://ipaddress:port

Don’t forget to replace https://ipaddress:port for the URL of your repository.

Press “return” and the system will inform you that it got an error

Error validating server certificate for ‘https://ipaddress:port‘:
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- The certificate hostname does not match.
Certificate information:
- Hostname: DOMAIN.LOCAL
- Valid: from Feb  2 02:00:51 2009 GMT until Jan 31 02:00:51 2019 GMT
- Issuer: DOMAIN.LOCAL
- Fingerprint: 5d:8d:56:3b:d4:d0:a1:aa:de:03:ec:40:4d:55:c1:8a:61:e0:a3:4b
(R)eject, accept (t)emporarily or accept (p)ermanently?

So, type “p” to make you computer accept this certificate permanently.

This has worked fabulously and I’m now going to go on my merry way. Thank you Mr. Favero, thank you.

  • This little problem can be gotten around by re-checking out and swapping in “%20” to where the spaces were. Unfortunately I can’t remember where I saw this, if it was on YOUR site, you are an awesome individual to whom I am indebted, thank you.