SVN、OSX10.7:SSL 握手失败:SSL 错误代码 -1/1/336032856 [英] SVN, OSX10.7: SSL handshake failed: SSL error code -1/1/336032856

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

问题描述

由于 SSL 握手错误,我无法访问 svn 存储库.这是我得到的输出

I'm having trouble accessing an svn repository due to an SSL handshake error. Here's the output I get

$ svn ls https://example.edu:40657/folder
svn: OPTIONS of 'https://example.edu:40657/folder': SSL handshake failed: SSL error code -1/1/336032856 (https://example.edu:40657)

这是在将存储库移动到另一台服务器后开始发生的.还颁发了新的安全证书.

This started happening after the repository was moved to another server. A new security certificate was issued as well.

我已经看到这里提出的问题(握手失败,SSL 错误代码 -1/1/336032856"(在 OS X 10.7 上)并阅读常见问题解答,但我的 ssl 版本是 1.0.1c.我认为这是一个客户端问题,因为没有其他(linux)机器出现这个问题.我已经删除了我的 ~/.subversion 文件夹并在我的钥匙串中删除了任何标记为 svn 或 ssl 的东西,但仍然没有运气.我的猜测是仍有安全密钥存储在我不知道的地方.有什么想法吗?

I've seen the issue raised here (Handshake failure with "SSL error code -1/1/336032856" on OS X 10.7) and read the faq, but my ssl version is 1.0.1c. I think this is a client side issue, since no other (linux) machines exhibit the problem. I've deleted my ~/.subversion folder and deleted in my keychain anything marked svn or ssl, but still no luck. My guess is there are still security keys stored somewhere that I don't know about. Any ideas?

推荐答案

非常感谢 Ned Deily,他的评论是正确的.在我下载并构建 subversion 1.7.8 (http://subversion.apache.org/download/#recommended-release).我还必须下载和构建霓虹灯(http://www.webdav.org/neon/), 允许 svn 识别 http 和 https 地址.最后,我不得不将苹果提供的 svn 二进制文件移动到另一个文件夹才能找到新版本(新版本安装到/usr/local/bin,而苹果提供的版本安装在/usr/bin).

Many thanks to Ned Deily, his comments were correct. The problem disappeared after I downloaded and built subversion 1.7.8 (http://subversion.apache.org/download/#recommended-release). I also had to download and build neon (http://www.webdav.org/neon/), to allow svn to recognize http and https address. Finally, I had to move the apple-supplied svn binaries to another folder to get the new version found (new version was installed to /usr/local/bin, while the apple-supplied version was installed in /usr/bin).

这篇关于SVN、OSX10.7:SSL 握手失败:SSL 错误代码 -1/1/336032856的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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