2016-11-13 133 views
0

我试图使用XAMPP为我的网站获得SSL证书。我正在使用本教程http://robsnotebook.com/xampp-ssl-encrypt-passwords完成他们告诉我要做的事。 出于某种原因,我得到这个错误https://i.gyazo.com/5da7549ca6baaed8ce96d5c55c9dd7e4.png 它说,“该网页是不安全的(破碎HTTPS)。XAMPP - SSL证书。损坏的HTTPS

这是我的httpd-vhosts.conf

<VirtualHost *:443> 
     DocumentRoot "C:\Users\Administrator\Desktop\xampp\htdocs" 
     ServerName myproject 
     SSLEngine on 
     SSLCertificateFile "conf/ssl.crt/server.crt" 
     SSLCertificateKeyFile "conf/ssl.key/server.key" 
     <Directory "C:\Users\Administrator\Desktop\xampp\htdocs"> 
      Options All 
      AllowOverride All 
      Require all granted 
     </Directory> 
    </VirtualHost> 

而且我已经做了,他们告诉一切我要做的教程,请告诉我为什么这个错误出现..

回答

0

该SSL证书已过时证书链称为SHA1。SHA1于1995年后期宣布,它不符合current security standards according to NIST(国家标准与技术研究所),所以几乎浏览器和证书Au当局已经停止支持SHA1证书。我建议您要求您的提供商使用最新的SHA2加密技术颁发SSL证书,这一加密技术已被大多数浏览器接受。我想给你一些参考链接,将引导您详细:

https://blogs.technet.microsoft.com/srd/2013/11/12/security-advisory-2880823-recommendation-to-discontinue-use-of-sha-1/

https://security.googleblog.com/2014/09/gradually-sunsetting-sha-1.html

https://blog.mozilla.org/security/2014/09/23/phasing-out-certificates-with-sha-1-based-signature-algorithms/