【发布时间】:2014-04-04 11:20:31
【问题描述】:
因为我在我的 ubuntu linux 服务器中启用了 default-ssl 站点。当我用谷歌浏览器加载网站时,我收到了这个错误:
SSL 连接错误
无法与服务器建立安全连接。这可能是服务器的问题,或者可能需要您没有的客户端身份验证证书。
错误 107 (net::ERR_SSL_PROTOCOL_ERROR):SSL 协议错误。
使用火狐:
SSL 收到了超过最大允许长度的记录。
(错误代码:ssl_error_rx_record_too_long)
因为我检查了 apache2 的日志文件。其中说 suhosin-path mod_ssl
[Fri Apr 04 16:29:33 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1 mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations
仅供参考, 当我运行命令“apachectl -S”时出现此错误
/usr/sbin/apachectl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:443 127.0.1.1 (/etc/apache2/sites-enabled/default-ssl:2)
*:80 is a NameVirtualHost
default server 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
如果我运行“apachectl configtest”
/usr/sbin/apachectl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Syntax OK
编辑 1
我也遇到了错误
Invalid method in request \x16\x03\x01
请帮帮我。
【问题讨论】:
-
在 chrome 中它说:SSL 连接错误无法与服务器建立安全连接。这可能是服务器的问题,或者可能需要您没有的客户端身份验证证书。错误 107 (net::ERR_SSL_PROTOCOL_ERROR):SSL 协议错误。并且在 firefox 中:SSL 收到了超过最大允许长度的记录。 (错误代码:ssl_error_rx_record_too_long)