简介
Nginx替换https证书步骤:
1、上传并替换证书文件;
2、nginx -s reload加载新证书;
3、浏览器查看确认证书是否生效;
详细说明
1、上传并替换证书文件
从nginx.conf或其子配置中查看ssl证书配置,例如:
ssl_certificate /opt/certs/xxx.com_bundle.crt;
ssl_certificate_key /opt/certs/xxx.com.key;
Nginx替换https证书步骤:
1、上传并替换证书文件;
2、nginx -s reload加载新证书;
3、浏览器查看确认证书是否生效;
从nginx.conf或其子配置中查看ssl证书配置,例如:
ssl_certificate /opt/certs/xxx.com_bundle.crt;
ssl_certificate_key /opt/certs/xxx.com.key;