2013-12-11 207 views
1

我在mac上使用conerstone。SSL握手失敗SVN(無SSL證書)

Description : Unable to contact the repository at https://[email protected] because an SSL session could not be established. 
Suggestion : This Mac was unable to present a valid certificate or the server's certificate was rejected as invalid. 
Error : V4SSLHandshakeFailureError 
Exception : ZSVNSSLHandshakeFailureException 
Description : Unable to connect to a repository at URL 'https://[email protected]' 
Status : 175002 
Description : OPTIONS of 'https://[email protected]': SSL handshake failed: SSL error code -1/1/336032856 (https://[email protected]) 
Status : 175002 

所以,是的,SSL驗證失敗,因爲沒有安裝NO SSL證書:嘗試連接的回購時,我得到了下面的錯誤。很好。我如何知道我手動信任此位置的基礎(或SVN)?

+0

沒有SSL證書?那麼爲什麼要使用HTTPS來訪問存儲庫呢? – bahrep

回答

1

解決方案是升級到較新的Subversion客戶端(它是針對較新的OpenSSL版本構建的)。驗證您輸入的URL是否與主機名和證書的通用名稱相匹配。

+0

基石是最新的。或者你是否說我需要手動更新我的機器上的SVN? 主機名和證書通用名稱不匹配。謝謝你。 僅僅因爲沒有SSL證書並不意味着我們不想通過https傳輸數據,不是嗎? –

+1

通用名稱與網址不匹配原來就是問題所在。 –

0

也許您可以刪除存儲庫並重新添加。