1

在使用 CentOS 6 和 SVN 1.6 (yum install subversion) 或 1.7.5 时,当我尝试对 VisualSVN 服务器进行 SVN 检出时,我收到以下错误:

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

我环顾了网络,它建议执行以下操作:

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

然而,libneon-gnutls.so.27 在这个 libneon 包中不存在,导致解决方案无用(我已经尝试过):

neon-0.29.3-1.2.el6.i686

是否有不涉及降级霓虹灯的解决方法?我不确定如何获得我需要的正确版本的霓虹灯。

4

1 回答 1

2

I upgraded VisualSVN to latest the version and added the registry key defined here: http://www.visualsvn.com/support/topic/00056/

Then regenerated a certificate. Turned off SSL and turned it back on.

After this I tried connecting from my server again and it worked. I'm not sure exactly which action resolved the issue, but it appears that even though the VisualSVN topic says it applies to 2.5 and not any specific subversion the latest version is able to properly generate a certificate.

于 2012-06-26T23:23:53.780 回答