ssl_error_rx_record_too_long 和 Apache SSL [英] ssl_error_rx_record_too_long and Apache SSL

查看:25
本文介绍了ssl_error_rx_record_too_long 和 Apache SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一位客户试图访问我的一个网站,但他们不断收到此错误 > ssl_error_rx_record_too_long

I've got a customer trying to access one of my sites, and they keep getting this error > ssl_error_rx_record_too_long

他们在所有浏览器、所有平台上都收到此错误.我根本无法重现这个问题.

They're getting this error on all browsers, all platforms. I can't reproduce the problem at all.

我和我的服务器位于美国,客户位于印度.

My server and myself are located in the USA, the customer is located in India.

我在 google 上搜索了这个问题,主要来源似乎是 SSL 端口在使用 HTTP.我检查了我的服务器,这没有发生.我尝试了这里提到的解决方案,但是客户表示没有解决问题.

I googled on the problem, and the main source seems to be that the SSL port is speaking in HTTP. I checked my server, and this is not happening. I tried the solution mentioned here, but the customer has stated it did not fix the issue.

谁能告诉我如何解决这个问题,或者我如何重现这个问题???

Can anyone tell me how I can fix this, or how I can reproduce this???

解决方案

原来客户的本地代理配置错误!

Turns out the customer had a misconfigured local proxy!

希望能帮助任何发现此问题的人在将来尝试对其进行调试.

Hope that helps anyone finding this question trying to debug it in the future.

推荐答案

Subimage 提到的链接 对我来说是正确的.它建议更改虚拟主机标签,即从

The link mentioned by Subimage was right on the money for me. It suggested changing the virtual host tag, ie, from <VirtualHost myserver.example.com:443> to <VirtualHost _default_:443>

错误代码:ssl_error_rx_record_too_long

这通常意味着您服务器上的 SSL 实现不正确.该错误通常是由服务器管理员需要调查的服务器端问题引起的.

This usually means the implementation of SSL on your server is not correct. The error is usually caused by a server side problem which the server administrator will need to investigate.

以下是我们建议尝试的一些事情.

Below are some things we recommend trying.

  • 确保端口 443 在您的服务器上打开并启用.这是 https 通信的标准端口.

  • Ensure that port 443 is open and enabled on your server. This is the standard port for https communications.

如果 SSL 使用非标准端口,则 FireFox 3 有时会出现此错误.确保 SSL 在端口 443 上运行.

If SSL is using a non-standard port then FireFox 3 can sometimes give this error. Ensure SSL is running on port 443.

如果使用 Apache2,请检查您是否使用端口 443 进行 SSL.这可以通过如下设置ports.conf文件来完成

If using Apache2 check that you are using port 443 for SSL. This can be done by setting the ports.conf file as follows

Listen 80
Listen 443 https

  • 确保您没有多个 SSL 证书共享同一个 IP.请确保所有 SSL 证书都使用自己的专用 IP.

  • Make sure you do not have more than one SSL certificate sharing the same IP. Please ensure that all SSL certificates utilise their own dedicated IP.

    如果使用 Apache2,请检查您的虚拟主机配置.一些用户报告将 更改为 _default_ 解决了错误.

    If using Apache2 check your vhost config. Some users have reported changing <VirtualHost> to _default_ resolved the error.

    那解决了我的问题.我在谷歌上搜索错误消息并获得正确答案的第一次命中是很少见的!:-)

    That fixed my problem. It's rare that I google an error message and get the first hit with the right answer! :-)

    除了上述之外,还有一些其他人发现导致问题的其他解决方案:

    In addition to the above, these are some other solutions that other folks have found were causing the issue:

    • 确保您的 SSL 证书未过期

    • Make sure that your SSL certificate is not expired

    尝试指定密码:

    SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM:+SSLv3

    这篇关于ssl_error_rx_record_too_long 和 Apache SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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