Web浏览器不会选择SSL证书

时间:2015-09-02 22:22:10

标签: google-chrome ssl web certificate ssl-certificate

我正在为网站设置ssl证书

http://www.wegetitall.ca

我已经用许多不同的ssl检查器检查了它,一切都很好,但是chrome和Internet Explorer都没有把它拿起来。 Chrome中没有锁定标志,它甚至没有说证书不安全,它根本看不到它。

证书是从godaddy购买的,有关它的更多信息可以在这里找到:https://www.sslshopper.com/ssl-checker.html#hostname=www.wegetitall.ca

它没有显示的原因是什么?

2 个答案:

答案 0 :(得分:0)

我可以看到与您网站的SSL连接。 当您连接到您的网站时,请确保键入https:// .... NOT http://

如果连接是http,您可以重定向到https。 检查this thread是否有重定向(它基于运行PHP的服务器。找到适用于您的正确服务器。)

enter image description here

答案 1 :(得分:0)

SSL安装得很好,您只需要重定向到HTTPS 将以下代码放入您的.htaccess文件中。

RewriteEngine on
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule (.*) https://www.wegetitall.ca%{REQUEST_URI} [R=301,L]
相关问题