svnsslcornerstone

SSL handshake failed SVN (no SSL certificate)


I'm using conerstone on a mac. I get the following error when trying to connect the repo:

Description : Unable to contact the repository at    https://users@repoURL.com because an SSL session could not be established.
Suggestion : This Mac was unable to present a valid certificate or the server's certificate was rejected as invalid.
Error : V4SSLHandshakeFailureError
Exception : ZSVNSSLHandshakeFailureException
Description : Unable to connect to a repository at URL 'https://users@repoURL.com'
 Status : 175002
Description : OPTIONS of 'https://users@repoURL.com': SSL handshake failed: SSL error code -1/1/336032856 (https://users@repoURL.com)
 Status : 175002

So yes, SSL auth failed because there is NO SSL certificate installed. So great. How do I tell cornerstone (or SVN) that I trust this location manually?


Solution

  • The solution is to upgrade to the newer Subversion client (which is built against newer OpenSSL version). Verify that the URL you enter matches the hostname and the certificate's common name, as well.