【发布时间】:2012-02-29 14:48:20
【问题描述】:
我在 Ubuntu 11.10 中使用 Eclipse (Indigo) 和 subclipse 3.6。
之前我在其他机器上用 subclipse 连接到 svn 没问题,但是用我最近升级的 ubuntu 机器(从 11.04 升级到 11.10)就不行了。
当我尝试连接到我的私有 svn 服务器(Windows 中的 VisualSVN 服务器)时,我收到以下错误:
RA layer request failed
svn: OPTIONS of 'https://76.27.122.123/svn/brock':
SSL handshake failed: SSL error: Key usage violation in certificate has been detected. (https://76.27.122.123)
Key usage violation in certificate
所以,谷歌了一下,找到了这个解决方案:http://andrewbrobinson.com/2011/11/01/fixing-ssl-handshake-failed-ssl-error-key-usage-violation-in-certificate-has-been-detected-error-on-svn-checkout/
这基本上是说因为 neon 现在正在使用 GnuTls,并且它很严格并且拒绝我的无效证书(就像我说它是一个私有 svn 所以它是不受信任的)。 但是当我执行 mv 和符号链接命令时,它会弄乱我的 JavaHL 设置,并给我这个错误:
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path ...
我撤消了 mv 命令,现在 JavaHL 按照我在http://subclipse.tigris.org/wiki/JavaHL#head-5ccce53a67ca6c3965de863ae91e2642eab537de 找到的说明运行,但仍然无法克服密钥使用证书错误。有什么想法吗??
【问题讨论】:
标签: eclipse svn ssl-certificate visualsvn-server gnutls