SSL 收到超过最大允许长度的记录.(错误代码:ssl_error_rx_record_too_long) [英] SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

查看:596
本文介绍了SSL 收到超过最大允许长度的记录.(错误代码:ssl_error_rx_record_too_long)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照 https 设置的官方文档进行操作:https://help.ubuntu.com/6.06/ubuntu/serverguide/C/httpd.html#https-configuration

I followed the official docs on https setup located here: https://help.ubuntu.com/6.06/ubuntu/serverguide/C/httpd.html#https-configuration

我不得不从

SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire

因为它说这是一个无效的命令什么的.因此,删除它并按照说明进行操作后会出现错误:

because it said it was an invalid command or something. So having removed that and following the instructions to the nail it get the error:

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

我是 SSL 的新手,有什么关于问题的建议吗?

I'm new to SSL, any advice on what's going wrong?

推荐答案

我刚刚遇到了这个问题.对我来说,它出现在一些错误代码试图重定向到端口 80 上的 HTTPS 时.

I've just experienced this issue. For me it appeared when some erroneous code was trying to redirect to HTTPS on port 80.

例如

https://example.com:80/some/page

通过从 url 中删除端口 80,重定向工作.

by removing the port 80 from the url, the redirect works.

HTTPS 默认通过端口 443 运行.

HTTPS by default runs over port 443.

这篇关于SSL 收到超过最大允许长度的记录.(错误代码:ssl_error_rx_record_too_long)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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