python
network_error
ai_generated
partial
requests.exceptions.SSLError: HTTPSConnectionPool(host='revoked.example.com', port=443): 超过最大重试次数 (由SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 证书验证失败:证书已被吊销'))引起)
requests.exceptions.SSLError: HTTPSConnectionPool(host='revoked.example.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate revoked')))
ID: python/requests-connectionerror-ssl-certificate-verify-failed-crl
80%修复率
85%置信度
0证据数
2025-11-20首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| 3.x | active | — | — | — |
根因分析
服务器的SSL证书已被颁发CA吊销。
English
The server's SSL certificate has been revoked by the issuing CA.
解决方案
-
95% 成功率 Contact the server administrator to obtain a new certificate
The certificate must be re-issued by the CA.
-
80% 成功率 Use a different endpoint with a valid certificate
requests.get('https://valid-alternative.example.com')
无效尝试
常见但无效的做法:
-
Setting verify=False to bypass
60% 失败
Bypasses security but does not fix the revoked certificate; insecure.
-
Using a different SSL library
90% 失败
The revocation status is checked by the CA, not the library.