Skip to content

(Python Distribution) A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.

License

Notifications You must be signed in to change notification settings

certifi/python-certifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 11, 2025
c054ed3 · Mar 11, 2025
Mar 11, 2025
Jan 31, 2025
Apr 28, 2015
Jul 22, 2023
May 21, 2022
Jul 26, 2023
Jan 13, 2023
Mar 20, 2023
Oct 10, 2024
Apr 5, 2020

Repository files navigation

Certifi: Python SSL Certificates

Certifi provides Mozilla's carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It has been extracted from the Requests project.

Installation

certifi is available on PyPI. Simply install it with pip:

$ pip install certifi

Usage

To reference the installed certificate authority (CA) bundle, you can use the built-in function:

>>> import certifi

>>> certifi.where()
'/usr/local/lib/python3.7/site-packages/certifi/cacert.pem'

Or from the command line:

$ python -m certifi
/usr/local/lib/python3.7/site-packages/certifi/cacert.pem

Enjoy!

Addition/Removal of Certificates

Certifi does not support any addition/removal or other modification of the CA trust store content. This project is intended to provide a reliable and highly portable root of trust to python deployments. Look to upstream projects for methods to use alternate trust.

About

(Python Distribution) A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published