Nginx配置SSL证书 curl (60) Peer's Certificate issuer is not recognized
问题:Nginx配置SSL证书,用curl,会提示 (60) Peer's Certificate issuer is not recognized.
验证命令:
curl -vi https://www.xxx.xxx
1解决:证书内容先copy crt,再copy bundle.crt, 得到一个完整的certificate,然后配置到配置文件中,类似这样的:
ssl_certificate cert/xxxx.crt; ssl_certificate_key cert/xxxx.key;
1
2
上次更新: 2023/05/10, 14:47:28