# requests.exceptions.SSLError: HTTPSConnectionPool(host='incomplete.example.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get issuer certificate')))

- **ID:** `python/requests-connectionerror-ssl-certificate-verify-failed-unable-to-get-issuer`
- **Domain:** python
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The server did not send the intermediate CA certificate, and the client cannot build the trust chain.

## Version Compatibility

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

## Workarounds

1. **Configure the server to send the full certificate chain** (95% success)
   ```
   Contact server administrator to include intermediate CA certificates in the server configuration.
   ```
2. **Provide the missing intermediate CA certificate locally** (85% success)
   ```
   requests.get('https://incomplete.example.com', verify='/path/to/intermediate-ca.crt')
   ```

## Dead Ends

- **Disabling SSL verification** — Bypasses security; does not solve the missing intermediate certificate. (70% fail)
- **Manually downloading the certificate and using it incorrectly** — If the certificate chain is incomplete, the verification still fails. (80% fail)
