Mar 19

Linux系统添加Let's Encrypt证书 不指定

bkkkd , 21:51 , 网摘 » linux/unix 命令解释 , 评论(0) , 引用(0) , 阅读(152) , Via 本站原创 | |
Let's Encrypt在浏览器里能正常访问.
但在linux下出现
unable to get local issuer certificate


x509: certificate signed by unknown authority

解决方法:
1.https://letsencrypt.org/zh-cn/certificates/ 下载域名证书签名的版本.(我目前的证书用的是R3).下载pem版本.
2.上传根证书(Root CA)到 /usr/local/share/ca-certificates/ (需要修改为.crt扩展名)
3. 更新 CA certificates
update-ca-certificates
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]