IIS SSL 错误“ssl_error_rx_record_too_long”
我使用以下 SSL 命令创建了一个证书:
makecert -r -pe -n "CN=www.yourserver.com" -b 01/01/2000 -e 01/01/2036 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky Exchange -sp“Microsoft RSA SChannel 加密提供程序”-sy 12
我将其分配给 IIS 上的网站,但是当我尝试点击 url 时我收到的网站: “SSL 收到的记录超出了最大允许长度。
使用 Firefox 时显示
(错误代码:ssl_error_rx_record_too_long)
”。是什么原因造成的以及如何解决?
I have created a certificate using the following SSL command:
makecert -r -pe -n "CN=www.yourserver.com" -b 01/01/2000 -e 01/01/2036
-eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12
I assigned it to a web site on IIS, but when I try to hit the url of the web site I receive:
"SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
" when using Firefox.
What is causing it and how to fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这是一个典型迹象,表明 IIS 服务器上的 SSL 端口实际上正在提供纯 HTTP 服务。
您是否将 IIS 中的 SSL 端口指令设置为 443?也许你可以展示一下你的 IIS 配置?
另外,这篇 MS 支持文章可能会对您有所帮助:http://support.microsoft.com/kb/324069。
注意 - 我投票决定将其迁移到serverfault.com,因为它与系统管理相关,而不是与编程相关。
This is a typical sign that the SSL port on your IIS server is actually serving plain HTTP.
Have you set the SSL port directive in IIS to 443? Perhaps if you can show your IIS config?
Also this MS support article may help you: http://support.microsoft.com/kb/324069.
NOTE - I've voted to migrate this to serverfault.com as it's system-admin related as opposed to programming-related.
我有同样的问题。我在墙上敲了一会儿,重新启动 IIS,检查所有设置,谷歌搜索可能的答案,等等。然后我对每个 Windows 系统做了神奇的万灵药:我重新启动了系统。之后一切都很顺利。
I had this same exact problem. Beat my head on the wall for a while, restarting IIS, checking all the settings, Googling for possible answers, etc. etc. Then I did the magical cure-all for every Windows system: I restarted the system. Everything worked perfectly after that.
确切地。我必须将 Skype 更改为不使用端口 80 和 80。 443,这就成功了。基于此线程中的解决方案: 在 IIS 管理器中应用 SSL 证书,出现“该进程无法访问该文件,因为该文件正在被另一个进程使用”错误
Exactly. I had to change Skype to not use ports 80 & 443, that did the trick. Based on solution in this thread: Applying SSL certificate in IIS manager and "The process cannot access the file because it's being used by another process" error
我的防火墙配置引起了同样的问题:我错误地配置了端口转发。
我将端口 4444 转发到 80 而不是 443。解决了问题,一切正常。
I had the same issue caused by my firewall configuration: I misconfigured the portforwarding wrong.
I forwarded port 4444 to 80 insteat to 443. Solved the issue and everything works well.
我也遇到了同样的问题,昨天在办公室还可以,今天在家就不行了。就我而言,这是因为我家的 wifi 网络被 Windows 分类为公共网络,所以我切换到私人网络,它开始工作
I had the same issue, It was working yesterday at the office and today at home it didn't. In my case was caused becuase the wifi network in my home was classified as Public by Windows, so I switched to Private and it started working