[英]curl certificate Error_ssl.c334: No root certificate specified for verification of other side certificate
"""You also need CA certificates bundle file for SSL support. Download cacert.pem from the cURL site, rename it to curl-ca-bundle.crt, and place in the directory where you make installer, or in any directory listed in PATH environment variable.""" msgstr“”“您还需要CA证书捆绑文件以获得SSL支持。从cURL站点下载cacert.pem,将其重命名为curl-ca-bundle.crt,并放在您创建安装程序的目录中,或者放在任何目录中PATH环境变量。“”“
I did the same and stored it in "c:\\python27"
but it gives me the following error. 我做了同样的事情并将其存储在
"c:\\python27"
但它给了我以下错误。
value "C:\\Python27\\caret.pem" is not valid for "ssl.ca_certs"
No valid trusted SSL CA file set . 值
"C:\\Python27\\caret.pem" is not valid for "ssl.ca_certs"
无效。无有效的受信任SSL CA文件集。 See 'bzr help ssl.ca_certs" for more information on setting trusted certificates. 有关设置受信任证书的详细信息,请参阅“bzr help ssl.ca_certs”。
I got past this error by skipping the rename step. 我通过跳过重命名步骤来解决此错误。
I downloaded cacert.pem to "C:\\Python27\\" (no name change) and these errors went away. 我将cacert.pem下载到“C:\\ Python27 \\”(没有名称更改),这些错误消失了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.