Monday, October 10, 2011

SSL negotiation failed: SSL error code -1/1/336032856

I got this error when attempting to connect a Subversion client to a Subversion server I had just configured to run over Apache.  The cause is that the certificate validation fails because the ServerName in the SSL virtual host entry doesn't match the server you're connecting to.

If you're trying to connect to https://svn.mycompany.com, make sure your ServerName entry reads:
ServerName svn.mycompany.com:443
and the problem should go away.

No comments: