Add certificates for python through https

less than 1 minute read

Add certificates for python through https

reference

https://stackoverflow.com/questions/19377045/pip-cert-failed-but-curl-works

https://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi

Using command

$ Add certificates for python through https

If you don’t want to use the command line argument, you can set the cert in ~/.pip/pip.conf:

Add ~/.pip/pip.conf file

[global]
cert = /etc/ssl/certs/Foo_Rooti[**_CA.pem

Categories: , , ,

Updated:

Leave a Comment