Skip to Content

You are here

Fixing SSL handshake failed: error on SVN checkout

I was trying to findout the reason for the same.
Wasted lot of time in checking out through my ubuntu 11.10 version but still couldn't get any solution.
svn: OPTIONS of 'https://mysite.com/myrepository/project1': SSL handshake failed: SSL error: Key usage violation in certificate has been detected. (https://mysite.com)
I finally foundout that its problem of libneon after googling alot.
If you face the same problem do not waste time behind it. Just use following commands to do the checkout.
install the libneon as follows :
sudo apt-get install libneon27
link the library libneon with gnutls as follows :
sudo mv /usr/lib/libneon-gnutls.so.27 /usr/lib/libneon-gnutls.so.27.old
sudo ln -s /usr/lib/libneon.so.27 /usr/lib/libneon-gnutls.so.27
sudo mv /usr/lib/libneon-gnutls.so.27 /usr/lib/libneon-gnutls.so.27.old
sudo ln -s /usr/lib/libneon.so.27 /usr/lib/libneon-gnutls.so.27

Tadaaaa problem is fixed.. :)
Have fun.. cheers..

 

Tags: 

Comments

Thank you for this useful information.

thanks for sharing