Progrider

Programming discussion

Board index
Help · Open discussion

python requests SSL error only at work

requests.get gives CERTIFICATE_VERIFY_FAILED on the office network. fine at home. someone said just use verify=False

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.

Add a reply

Plain text. Public, and removed when the thread expires.

Posts and requests are logged for research. Privacy notice.