SSL协商因SVN而失败 [英] SSL negotiation failed with svn
问题描述
我正在运行一个接受https请求的服务器.我已经生成了自己的证书.在firefox中访问网站时,出现未知证书错误,但这很好. (我认为)表明端口转发和此类工作有效.
I am running a server that accepts https requests. I have generated my own certificate. When going to the site in firefox I get the unknown certificate error, but that's fine. This (I think) indicates that port forwarding and such works.
我正在尝试与此一起使用svn.在服务器上使用svn时(但使用外部ip),它可以工作.再次,我得到的证书是未知的,但我不在乎.
I am trying to use svn with this. When using svn on the server (but using the external ip) it works. Again I get the certificate is unknown, but I don't care.
在Mac OS X上使用svn时,我会得到
When using svn on mac OS X I get
SSL协商失败:SSL错误代码-1/1/336032856
SSL negotiation failed: SSL error code -1/1/336032856
我在Google上找到了几篇关于此的文章,但他们都说这是openssl 0.9.8版的错误,使用更高的版本应该可以解决此问题.
I've found several posts on google about this, but they all say it's a bug with openssl version 0.9.8, and that using something higher should fix it.
我当前正在使用openssl 1.0.0c.我不知道出什么事了.我还检查了httpd中的错误日志,但没有任何反应.
I am currently using openssl 1.0.0c. I have no idea what's going wrong. I also checked the error log in httpd and nothing comes up.
任何有关此的想法都会有所帮助.
Any ideas on this would really help.
谢谢
推荐答案
当我的Apache配置错误时,我收到了相同的错误消息-我的httpd.conf
中与不匹配自签名证书中的主机名.
I received the same error message when my Apache configuration was wrong - my ServerName parameter in httpd.conf
did not match hostname in the self-signed certificate.
这篇关于SSL协商因SVN而失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!