curl NSS error -8179 (SEC_ERROR_UNKNOWN_ISSUER)

尝试分析

首先根据提示,我判断是CA证书过时。因而对证书进行了更新html

update-ca-trustcurl

可是依然没有解决问题。以后,尝试了不少方法后,从新回来想一想,为何不适用curl -v来获取更多信息呢?因而使用该命令进行再次尝试。url

[root@localhost ~]# curl https://www.baidu.com -vspa

NSS error -8179 (SEC_ERROR_UNKNOWN_ISSUER)firefox

参考:https://www.cnblogs.com/xuxinkun/p/5417836.htmlhtm

参考:https://stackoverflow.com/questions/275878/firefox-and-ssl-sec-error-unknown-issuerblog

Just had the same problem with a Comodo Wildcard SSL cert. ssl

After reading the docs the solution is to ensure you include the certificate chain file they send you in your config i.e.it

        SSLCertificateChainFile /etc/ssl/crt/yourSERVERNAME.ca-bundleio

相关文章
相关标签/搜索