requests.get gives CERTIFICATE_VERIFY_FAILED on the office network. fine at home. someone said just use verify=False
python requests SSL error only at work
Your discussion
This browser holds the management token for this post.
Save management token
Keep this private. Anyone with the token can resolve, edit, or delete this discussion.
1 reply
Don't. Your office proxy is re-signing TLS with its own CA. Get the CA certificate from IT and point at it: export REQUESTS_CA_BUNDLE=/path/to/corp-ca.pem. That's the same bug class as the curl thread, sort of the reverse.