1
0
Fork
You've already forked python-certifi
0
(Python Distribution) A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.
  • Python 97.7%
  • Makefile 2.3%
Find a file
github-actions[bot] 5dddfb0722
2026年04月22日 ( #410 )
Co-authored-by: alex <772+alex@users.noreply.github.com>
2026年04月22日 07:24:19 -04:00
.github Bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 ( #404 ) 2026年04月13日 20:31:50 -04:00
certifi 2026年04月22日 ( #410 ) 2026年04月22日 07:24:19 -04:00
.gitignore Ignore pyc files 2015年04月28日 18:33:15 +01:00
LICENSE Remove inaccurate date from LICENSE 2023年07月22日 08:50:02 -04:00
Makefile workflows: add trusted publishing release workflow ( #231 ) 2023年07月25日 23:03:28 -04:00
MANIFEST.in Add py.typed to MANIFEST.in to package in sdist ( #196 ) 2022年05月20日 21:05:29 -04:00
pyproject.toml Declare setuptools as the build backend in pyproject.toml ( #350 ) 2025年04月27日 13:05:07 -04:00
README.rst remove paragraphs about 1024-bit roots from README 2023年01月13日 08:58:29 -05:00
SECURITY.md Create a Security Policy ( #222 ) 2023年03月20日 17:35:59 -04:00
setup.py Add Python 3.14 classifier in setup.py 2025年09月26日 07:51:46 -05:00
strip-non-ascii 2020年04月05日 2020年04月05日 16:50:54 +01:00

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.