自签名 SSL 链接不起作用
我有一个带有自签名 SSL 证书的嵌入式 Web 服务器。在我克服了 Web 浏览器关于 SSL 证书自签名的警告后,我发现 IE8 和 Firefox 3.5.5 之间存在差异。
在 IE8 中,如果我尝试下载 PNG 文件,每次都会下载。
在 FireFox 中,它每隔一次就会给我一个错误。
错误信息是这样的:
安全连接失败 连接 192.168.1.100 期间发生错误。 SSL 对等方无法协商一组可接受的安全参数。 (错误代码:ssl_error_handshake_failure_alert) *由于无法验证接收到的数据的真实性,因此无法显示您尝试查看的页面。 *请联系网站所有者以告知他们此问题。或者,使用帮助菜单中的命令来报告此损坏的站点。
是什么原因造成的?为什么一个浏览器一直工作,而另一个浏览器每隔一段时间工作一次?
I have an embedded web server with a self-signed SSL certificate. After I get past the Web Browser's warning about the SSL Certificate being self signed, I am seeing a difference between IE8 and Firefox 3.5.5.
In IE8, if I try to download a PNG file, it will download every time.
In FireFox, it will give me an error every other time.
The error message is this:
Secure Connection Failed An error occurred during a connection to 192.168.1.100. SSL peer was unable to negotiate an acceptable set of security parameters. (Error code: ssl_error_handshake_failure_alert) *The page you are trying to view can not be shown because the authenticity of the received data could not be verified. *Please contact the web site owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.
What is causing this? Why does one browser work all the time and the other only works every other time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不看包装就很难说。如果我不得不冒险猜测,那么在第二个请求时,Firefox 会尝试恢复 SSL 会话,但出于某种原因,服务器不喜欢这样。在下一个请求时,Firefox 不会尝试恢复,并且会再次成功。或许?
It's hard to say without looking at the packets. If I had to hazard a guess, it would be that on the second request, Firefox is trying to resume the SSL session, and for some reason, the server doesn't like that. On the next request, Firefox doesn't try to resume, and it succeeds again. Maybe?