我正在Windows上使用一台公司计算机。我有自己的索引,是托管在一个https网站上。我知道我可以避免使用trusted-host的https。但我想用它。
我正试图按以下方式安装软件包:
pip install -i https://pathtoindex/simple/ pkgname
但我得到了以下错误:
Could not fetch URL [...] There was a problem confirming the ssl
certificate: [SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed (_ss
我在公司的防火墙里落后了。我们使用我们公司提供的证书文件*.crt访问启用SSL的网站。
所以我在使用unable to get local issuer certificate时会得到heroku login错误。
我正在使用Windows10和HerokuCLI7.14.1,并尝试添加HEROKU_SSL_VERIFY=disable和SSL_CERT_FILE=C:\certificate.crt作为环境变量,但没有成功。
我该怎么解决呢?