握手失败,“SSL 错误代码 -1/1/336032856"在 OS X 10.7 上 [英] Handshake failure with "SSL error code -1/1/336032856" on OS X 10.7

查看:104
本文介绍了握手失败,“SSL 错误代码 -1/1/336032856"在 OS X 10.7 上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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)

它适用于 Windows 和 Mac OX10.6,但它无法在 Mac OSX10.7 上运行.

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

我已经尝试过使用默认的/usr/bin/svn(版本 1.6.16 (r1073529)),和 fink/sw/bin/svn (version 1.6.17 (r1128011)) 之一我安装了所有 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.

可能是什么问题?

ps:我使用私有 svn 存储库;"https://example.com/svn" 只是这篇文章的一个例子.

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

推荐答案

Subversion 常见问题解答中回答了这个问题.请参阅 *"通过 SSL 执行 Subversion 操作时,出现错误 SSL 握手失败...:

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

当服务器报告的主机名与 SSL 证书中给出的主机名不匹配时,就会发生这种情况.确保您的服务器配置使用正确的 ServerName 和 NameVirtualHost 值.

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.

客户端修复是将 OpenSSL 更新到版本 1.0.0d.

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

这篇关于握手失败,“SSL 错误代码 -1/1/336032856"在 OS X 10.7 上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆