天天看點

【轉載】Linux下SVN 檢出windows SVN伺服器上的項目出錯:SSL handshake failed

轉載文章位址:http://m.blog.csdn.net/blog/gongheguoyingpai11/37766827

在Linux上檢出windows SVN伺服器上項目時出現了SSL handshake failed: SSL error: Key usage violation in certificate has been detected.的錯誤。

通過如下方式可以解決掉在Ubuntu上和CentOS上檢出失敗的問題。

在Windows系統資料庫中加入注冊項:

32位機器:

 [HKEY_LOCAL_MACHINE\SOFTWARE\VisualSVN\VisualSVN Server]

“CreateGnuTLSCompatibleCertificate”=dword:00000001

64位機器:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VisualSVN\VisualSVN Server]

“CreateGnuTLSCompatibleCertificate”=dword:00000001

這裡的加法就是找到VisualSVN Server這個條目,在右邊列出的項裡右鍵,建立"Dword",命名為CreateGnuTLSCompatibleCertificate,并将其值修改為00000001.

然後打開VisualSvn Server,在菜單中選擇"操作","Properties",在打開的對話框中選擇"Certificate",點選Change Cetificate,一路點選下一步即可,然後點選應用,點選确定,

即可在Ubuntu和CentOS下檢出SVN項目了。

繼續閱讀