SSL 握手失败:SSL 错误:检测到证书中的密钥使用违规 [英] SSL handshake failed: SSL error: Key usage violation in certificate has been detected

查看:81
本文介绍了SSL 握手失败:SSL 错误:检测到证书中的密钥使用违规的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 ubuntu 中安装了 kdesvn.但是当我尝试结帐时,出现此错误.

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

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.

推荐答案

执行以下命令

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)

之后您可能需要重新启动.现在,当您执行 svn checkout 时,会出现一个永久信任证书的选项.去做.

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

这篇关于SSL 握手失败:SSL 错误:检测到证书中的密钥使用违规的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆