【发布时间】:2016-05-04 01:00:04
【问题描述】:
我使用"Let"s Encrypt" 将我的网络服务器从 HTTP 更改为 HTTPS。 Webserver 包含一个 API,我有一个 Python 应用程序,它使用该 API。
在 Linux 下一切正常,但在 Windows 下,当我登录时,我会在下面收到此信息。
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
我的想法是,没有安装 SSL 证书。
所以我下载了“isrgrootx1.der”和“lets-encrypt-x1-cross-signed.der”,将两者都重命名为结尾“*.cer”。
然后我打开 Windows 控制台,然后运行:
certutil -addstore "Root" "isrgrootx1.cer".
certutil -addstore "Root" "lets-encrypt-x1-cross-signed.cer".
第二个命令失败,因为它不是根证书。 我的问题是:要在哪个组中安装“lets-encrypt-x1-cross-signed.cer”?
【问题讨论】:
-
你能检查一下答案,看看它是否适合你@clausismus?
标签: python windows ssl-certificate lets-encrypt certutil