SSL handshake failed: SSL error: Key usage violation in certificate has been detected

SVN causing problems in ubuntu

When I was checking out a code in a svn repository which can only connect through https, started giving me errors as following.

SSL handshake failed: SSL error: Key usage violation in certificate has been detected.

This is caused by a bug in the version of libneon, fortunately this is fixed in version 0.29.3.  

To fix the problem, please follow the steps


  1. Uninstall the current libneon package: sudo apt-get remove libneon27
  2. Download the latest libneon package http://packages.debian.org/squeeze/libneon27
  3. Install the required libssl dependency: sudo apt-get install libssl0.9.8
  4. Install the downloaded libneon package: dpkg -i libneon27_0.29.3-3_amd64.deb
  5. Make the changes to symbolic links as described above: 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

Comments

Popular posts from this blog

WSO2 ESB Removing full soap header using enrich mediator.

Getting started with WSO2 Device Cloud APIs

Running a Standalone WSO2 IoT Server.