{
  "id": "python/requests-sslerror-expired-certificate",
  "signature": "requests.exceptions.SSLError: HTTPSConnectionPool(host='expired.example.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired')))",
  "signature_zh": "requests.exceptions.SSLError: HTTPSConnectionPool(host='expired.example.com', port=443): 超过最大重试次数 (由SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 证书验证失败：证书已过期'))引起)",
  "regex": "requests\\.exceptions\\.SSLError:\\ HTTPSConnectionPool\\(host='expired\\.example\\.com',\\ port=443\\):\\ Max\\ retries\\ exceeded\\ with\\ url:\\ /\\ \\(Caused\\ by\\ SSLError\\(SSLCertVerificationError\\(1,\\ '\\[SSL:\\ CERTIFICATE_VERIFY_FAILED\\]\\ certificate\\ verify\\ failed:\\ certificate\\ has\\ expired'\\)\\)\\)",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The server's SSL certificate has expired and is no longer valid.",
  "root_cause_type": "generic",
  "root_cause_zh": "服务器的SSL证书已过期，不再有效。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Setting verify=False to bypass the error",
      "why_fails": "Bypasses security but exposes to risks; does not fix the expired certificate.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using a custom CA bundle with the expired certificate",
      "why_fails": "The certificate is expired, so it will still fail verification.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Renew the certificate on the server side",
      "success_rate": 0.95,
      "how": "Contact server administrator to renew the SSL certificate.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a different endpoint or service that has a valid certificate",
      "success_rate": 0.8,
      "how": "requests.get('https://valid.example.com')",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2025-03-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}