Replies: 3 comments 6 replies
-
pyenv is a tool for installing python, whatever issues you have with corporate networks and Pip is not something pyenv can help you with. I'd put |
Beta Was this translation helpful? Give feedback.
-
Specifically for your case, it should help if you add that certificate into the system's certificate bundle as per https://askubuntu.com/questions/73287/how-do-i-install-a-root-certificate (If that doesn't help, we'd need more info on how exactly your sysadmin has configured the system to use the local CA to be able to say anything further.) |
Beta Was this translation helpful? Give feedback.
-
Hello - I am having the same issue reported above. I am the sysadmin and a python user. We're running Ubuntu 20.04. I have installed our trusted root CA to the system. Command line tools, like pip install fastapi
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))': /simple/fastapi/ To get over the issue temporarily, we're adding I'll need to revisit this in the future, but have added it to our backlog. If you have any thoughts or if I can help by providing logs of some sort let me know. I'll update this thread if I identify a better solution. |
Beta Was this translation helpful? Give feedback.
-
Im working in company network with it's own CA.
When I want to Download any pip packages I get always
ssl certificate_verify_failed
Therefore I use
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/Web_Gateway_CA.pem
What would be the best and correct way to handle this problem without exporting it everytime after I activate the venv?
Beta Was this translation helpful? Give feedback.
All reactions