certifi

repository·master·Indexed 21 days ago

https://github.com/certifi/python-certifi

A Python package providing a curated collection of Mozilla's Root Certificates to allow applications to verify the identity of TLS hosts and validate SSL certificates.

Tokens
331
Snippets
3
Records
4
Agent score
26%

What's inside certifi

  1. Note on modifying the CA trust store

    master
    Certifi is designed to be a reliable, immutable root of trust. It does not support adding, removing, or modifying the contents of the CA bundle. If you need to use alternate trust stores or custom certificates, you should use the mechanisms provided by your specific networking or SSL libraries rather than attempting to modify certifi.
  2. Locate the CA bundle path

    master

    You can find the absolute path to the installed certificate authority (CA) bundle using either the Python API or the command line. This path is useful when configuring other libraries (like requests or httpx) to use certifi's trust store.

    import certifi
    print(certifi.where())
    # Output example: '/usr/local/lib/python3.7/site-packages/certifi/cacert.pem'