Error on SVN checkout: SSL handshake failed: SSL error: Key usage violation in certificate has been detected.

Use case

Lately I received the following error message, while trying to checkout from a SVN repository located on a Windows server from my Kubuntu machine:

svn: Commit failed (details follow):
svn: OPTIONS of 'https://HOSTNAME/svn/repo': SSL handshake failed: SSL error: Key usage violation in certificate has been detected. (https://HOSTNAME)

Solution

A short search pointed out, that this issue occures because of an unsigned security certificate.Have a look at this post.

In my case I just needed to install libneon

$ sudo apt-get install libneon27

And then to remove the previous symbolic link by replacing it with a new one pointing to gnutls:

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

This worked for me, even though I had to restart my system surprisely.

Tagged with: , , ,
Posted in kubuntu, SSL, SVN
3 comments on “Error on SVN checkout: SSL handshake failed: SSL error: Key usage violation in certificate has been detected.
  1. I think your post is very interesting and mostly, I keep looking for like this type of websites where I learn or get new concept. I am happy to visit on your site. Thanks to share it. I was more than happy to find this web site. I need to thank you for your moment due to this unbelievable read!! I definitely savored every bit of it and I have you book-marked to
    see new things in your web site.

  2. admin says:

    Hi Jane,
    sorry, but I’m not into Windows.

  3. Jane says:

    Hi,

    How do we do on Windows 7?

1 Pings/Trackbacks for "Error on SVN checkout: SSL handshake failed: SSL error: Key usage violation in certificate has been detected."
  1. [...] http://blog.cwill-dev.com/2012/03/28…been-detected/ But i could int find libneon-gnutls.so.27 in /usr/lib64/ mv /usr/lib64/libneon-gnutls.so.27 /usr/lib64/libneon-gnutls.so.27.old ln -s /usr/lib64libneon.so.27 /usr/lib64/libneon-gnutls.so.27 Quote: [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Anti-spam protection

Prove that you are Human by typing the emphasized characters:


Protected by Gab Captcha 2

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>