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

15,289

Execute the following commands

sudo apt-get install libneon27
cd /usr/lib
sudo rm libneon-gnutls.so.27
sudo ln -s /usr/lib/libneon.so.27 libneon-gnutls.so.27 (double check that symbolic link is created)

you may need to restart after that. Now when you do svn checkout, An option will come to trust the certificate permanently. Do that.

Share:
15,289

Related videos on Youtube

Giri
Author by

Giri

Updated on October 05, 2022

Comments

  • Giri
    Giri over 1 year

    I have installed kdesvn in ubuntu. But when I am trying to checkout, getting this error.

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

    I have came across the solution for this as

    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
    

    or

    sudo apt-get install libneon27
    cd /usr/lib
    sudo rm libneon-gnutls.so.27
    sudo ln -s /usr/lib/libneon.so.27 libneon-gnutls.so.27
    

    But Still I am getting the same error.

  • Dharmesh Goswami
    Dharmesh Goswami over 8 years
    These commands works like a charm in my ubuntu 12.04. Thank you.