解決Linux下Svn檢出Windows SVN伺服器上專案SSL handshake failed: SSL error: Key usage violation in certificate ha
阿新 • • 發佈:2019-02-15
在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
這裡的加法就是找到VisualSVN Server這個條目,在右邊列出的項裡右鍵,新建"Dword",命名為CreateGnuTLSCompatibleCertificate,並將其值修改為00000001.
然後開啟VisualSvn Server,在選單中選擇"操作","Properties",在開啟的對話方塊中選擇"Certificate",點選Change Cetificate,一路點選下一步即可,然後點選應用,點選確定,
即可在Ubuntu和CentOS下檢出SVN專案了。