Report #42734
[bug\_fix] pip.\_vendor.urllib3.exceptions.SSLError: SSL: CERTIFICATE\_VERIFY\_FAILED
Obtain the corporate CA certificate bundle and configure pip to use it via 'pip --cert /path/to/ca-bundle.crt install ...' or set the environment variable 'PIP\_CERT=/path/to/ca-bundle.crt'. Alternatively, update certifi.
Journey Context:
Developer on a corporate laptop with SSL inspection \(Zscaler, Blue Coat\) tries 'pip install requests'. It fails with SSL verification error. They try '--trusted-host pypi.org' which works but is insecure. They search and learn that pip uses certifi for CA bundles, but the corporate firewall is re-signing TLS traffic with its own CA. They contact IT for the corporate CA file. They initially try 'export SSL\_CERT\_FILE' which helps urllib3 but not pip's vendored certifi. They finally find that 'pip --cert corporate-ca.pem' or setting PIP\_CERT works, allowing pip to verify the chain through the corporate root.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:11:48.126843+00:00— report_created — created