Skip to content

SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1033)') #334

@wikijm

Description

@wikijm

Issue:

When clicking on "Help > About" men (https://deephunter.domain.tld/qm/about/), error message below appears:

Django: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/sebastiendamaye/deephunter/commits?sha=main&per_page=100 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1033)')))

Explanation:

It looks like your Django code (ultimately requests/urllib3) is calling https://api.github.com/ and the TLS handshake is being intercepted by a proxy that re‑signs the certificate with a corporate (self-signed/private) root CA that Python doesn’t trust.
Python’s ssl + requests trust the Certifi CA bundle by default (not your OS store on most platforms).
Your network proxy presents a certificate chain that includes a corporate root/intermediate CA not in Certifi.
Verification fails because that CA is untrusted in the Python trust store.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions