certifi

2025.1.31last stable release 2 months ago
Complexity Score
Low
Open Issues
N/A
Dependent Projects
3,766
Weekly Downloadsglobal
142,524,686

License

  • MPL-2.0
    • Yesattribution
    • Permissivelinking
    • Copyleftdistribution
    • Copyleftmodification
    • Yespatent grant
    • Yesprivate use
    • Copyleftsublicensing
    • Notrademark grant

Downloads

Readme

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!

.. _Requests: https://requests.readthedocs.io/en/master/

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.

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
7.10
Test Coverage
No Data
Follows Semver
No
Github Stars
871
Dependenciestotal
0
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No Data
Repo Audits
No Data

Learn how to distribute certifi in your own private PyPI registry

pip install certifi
Processing...
Done

64 Releases

PyPI on Cloudsmith

Getting started with PyPI on Cloudsmith is fast and easy.