admin avatar

nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate的错误解决方法

🕥 by admin

出现nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate错误

就是说你并没有指定CA证书,解决方法有两种,一种就是合并CA证书,格式如下

cat www_example_com.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt

还有一种就是CA证书单独一个文件并指定CA证书的路径,如

1
2
#ssl_stapling_verify on; //关闭否则报错no ssl_client_certificate for ssl_verify_client
ssl_trusted_certificate /etc/secrets/COMODORSADomainCA;

systemctl status nginx 查看nginx有没有报错信息,如果没有则正常。

💘 相关文章

写一条评论