解决Chrome提示“该网站使用的安全设置已过期”

ZephyrXT 发布于 阅读:42

SHA1算法已被证明被破解速度远快于预期

未来浏览器将只支持使用SHA2证书加密的https网站


以下以startssl为例:

—————— 重新申请SHA2证书 ——————

1.免费用户只能等原证书过期后重新申请SHA2算法的证书

2.startssl的sub class1的sha2证书下载:


—————— 设置加密算法 ——————

编辑nginx的网站配置文件: *.com.conf

ssl_ciphers AES256-SHA:RC4-SHA:DES-CBC3-SHA:RC4-MD5;

ssl_prefer_server_ciphers on;


—————— 保存检测配置 ——————

运行 /usr/local/nginx/sbin/nginx -t  检测配置
运行 /usr/local/nginx/sbin/nginx -s reload 重载配置即可 或 /root/lnmp restart

检测网站:

https://www.sha2sslchecker.com/*.com


参考:

SHA1 to SHA2 Migration Guide by CAs
https://bbs.zephyrxt.com/thread-17771-1-1.html
中国用户如何应对众浏览器不再支持SHA-1算法
https://bbs.zephyrxt.com/thread-17772-1-1.html
Module ngx_http_ssl_module
https://bbs.zephyrxt.com/thread-17773-1-1.html