小编Sle*_*rPL的帖子

将 Wheezy 升级到 Jessie apache 2 后 SSL 停止工作

我将服务器从 Wheezy 升级到 Jessie,Apache 2.4 停止工作......

特别是在端口 443 上没有 ssl ....

telnet myhost 443
GET https://myhost
<html><meta http-equiv='Content-Type' content='text/html; charset=utf-8'/><body>Something in /var/www/html/index.html</body></html>>Connection closed by foreign host.
Run Code Online (Sandbox Code Playgroud)

它应该是:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
 Instead use the HTTPS scheme to access this URL, please.<br />
</p>
</body></html>
Connection closed by foreign …
Run Code Online (Sandbox Code Playgroud)

ssl mod-ssl apache-2.4

1
推荐指数
1
解决办法
3229
查看次数

标签 统计

apache-2.4 ×1

mod-ssl ×1

ssl ×1