# ERROR: Could not fetch URL https://pypi.org/simple/package/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)

- **ID:** `python/pip-install-error-ssl-certificate-verify-failed`
- **Domain:** python
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

pip cannot verify the SSL certificate of the package index, often due to missing CA certificates, corporate proxy interception, or outdated certifi bundle.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (80% success)
   ```
   pip install --upgrade certifi
   ```
2. **** (90% success)
   ```
   sudo apt-get install ca-certificates && sudo update-ca-certificates
   ```
3. **** (85% success)
   ```
   pip install --cert /path/to/corporate-ca-bundle.crt package
   ```

## Dead Ends

- **** — This bypasses security and may still fail if the proxy requires a specific CA. (60% fail)
- **** — Reinstalling Python does not fix missing or outdated CA certificates. (95% fail)
- **** — PyPI redirects HTTP to HTTPS; the SSL error persists. (90% fail)
