SSL网站在IE中返回错误的网关错误,在其他浏览器中正常工作

在LAMP堆栈上安装SSL证书后,该网站似乎无法加载Internet Explorer,但在其他浏览器中没有问题。 我确实在我的Apacheconfiguration中包含了从HTTP请求到HTTPS请求的redirect,这可能会导致问题:

<Directory /> Options FollowSymLinks AllowOverride None RewriteEngine On RewriteCond %{SERVER_PORT} !443 RewriteRule (.*) https://www.example.com [R] </Directory> 

我已经仔细检查了IE的设置,包括清除证书slate,确保SSL 2.0,3.0和TLS被启用。我也不确定上面的Apacheconfiguration是否与错误有关,但我可以说这是我对Apache向Web服务器添加证书之外唯一的改变。 有任何想法吗?

你可能一直在找错方向。 我遇到类似的麻烦,直到我偶然发现/ etc / apache / sites-available / 000-default-ssl virtualserverconfiguration中的这个部分: http : //pastebin.com/wD5ccZTb

您需要在您的目录规范之外添加最后一些未注释的行,以便在apache中为您的服务器/虚拟服务器configuration。

他们已经为像IE这样的braindead浏览器写了这个解决方法…

其他程序员之一对apache ssl.conf文件进行了修改,似乎解决了这个问题。

 # SSL Cipher Suite: # List the ciphers that the client is permitted to negotiate. # See the mod_ssl documentation for a complete list. #SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW #SSLCipherSuite -ALL:AES128-SHA SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXPORT 

SSLCipherSuite -ALL:AES128-SHA行被注释掉了,支持SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXPORT Line。

似乎有一个特定的密码IE浏览器需要,但Apacheconfiguration没有设置使用。