2013-12-11 140 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

也许您可以删除存储库并重新添加。