hujiyi / blogcomments

0 stars 0 forks source link

在 CentOS7 上为 Nginx 添加自签名SSL证书 | Hujy' Blog #8

Open hujiyi opened 4 years ago

hujiyi commented 4 years ago

https://hujiyi.github.io/2020/02/21/create-self-signed-sll-certificate-nginx-centos7/

解决OpenSSL创建的自签名证书在chrome端无法信任的问题OpenSSL 创建自签名证书的方法在 chrome 上会遇到了证书无效的错误:原因概述Chrome浏览器要求证书中必须包含 “Subject Alternative Names” 这一参数。解决方案修改待用的openssl配置文件1 拷贝openssl配置文件以备修改1cp /etc/pki/tls/openssl.cnf /hom