apache - ssl_error_rx_record_too_long 和 Apache SSL

标签 apache configuration ssl webserver mod-ssl

<分区>

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

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

我的服务器和我自己位于美国,客户位于印度。

我用谷歌搜索了这个问题,主要来源似乎是 SSL 端口使用 HTTP。我检查了我的服务器,这没有发生。我试过 the solution mentioned here ,但客户表示没有解决问题。

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

解决方案

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

最佳答案

link mentioned by Subimage对我来说是正确的钱。它建议更改虚拟主机标记,即从 <VirtualHost myserver.example.com:443><VirtualHost _default_:443>

Error code: ssl_error_rx_record_too_long

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.

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

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

  • 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
    
  • 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.

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

这解决了我的问题。我很少在谷歌上搜索错误消息并第一时间找到正确答案! :-)

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

  • 确保您的 SSL 证书没有过期

  • 尝试指定密码:

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

关于apache - ssl_error_rx_record_too_long 和 Apache SSL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/119336/

相关文章:

Perl CGI 工具中的 Apache 超时

java - IntelliJ IDEA maven 运行/调试配置,maven 目标已运行但应用程序未自动运行

php - 如何在 Ubuntu 15 上的 Apache 服务器上配置虚拟主机

tomcat - 如何使用 SNI 设置 Tomcat 服务于两个 SSL 证书?

php - xampp 目录中不存在 Sendmail 文件夹?

Javascript 跨域 POST/GET

apache - Oozie: Action 通知邮件需要设置为高优先级

configuration - 用于应用程序配置的单例

ssl - 如何获取 'Chrome has detected insecure content' 而不是 'Chrome has detected either high-risk insecure content'

c# - Nginx 作为 Ubuntu 上带有 UseRewriter 的 Asp.Net Core 2.0 Web 应用程序的反向代理