Handshake failure with “SSL error code -1/1/336032856” on OS X 10.7

匿名 (未验证) 提交于 2018-03-19 21:46:10

问题:

svn co "https://example.com/svn" 
svn: OPTIONS of 'https://example.com/svn': SSL handshake failed: SSL error code -1/1/336032856 (https://example.com)

It works on Windows and Mac OX10.6, but it fails on Mac OSX10.7.

I've tried with the default /usr/bin/svn (version 1.6.16 (r1073529)), and the one of fink /sw/bin/svn (version 1.6.17 (r1128011)) I installed all OSX10.7 updates.

What can be the problem?

ps: I use a private svn repository; "https://example.com/svn" is just an example for this post.

回答1:

This question is answered in the Subversion FAQ. See *"When performing Subversion operations over SSL, I get the error SSL handshake failed...":

This can happen when the hostname reported by the server does not the match hostname given in the SSL certificate. Make sure your server configuration uses correct values for ServerName and NameVirtualHost.

A client-side fix is to update OpenSSL to version 1.0.0d.



回答2:

If the other answer does not work

try

update your svn to version 1.7.8



每周VPS推荐 总有一款是你需要的!

没有找到想要的?点击这里去栏目页查看所有|点击这里搜索更多

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
如果有服务商和本站有合作意向,可以联系站长,QQ:121274060|邮箱:admin@e-learn.cn
了解到有朋友期望能在易学教程发布文章,奈何用户发布系统不完善,所以开通了码农岛,以供发布文章的需求
码农岛发布的文章需要同步到主站,可以加群联系群主
广告合作  |  商家投稿  |  易学教程交流群