Skip to main content

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.

Release files for certifi 2023.7.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for certifi 2023.7.22
File Size Uploaded
certifi-2023.7.22.tar.gz 159.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for certifi 2023.7.22
File Interpreter ABI Platform
certifi-2023.7.22-py3-none-any.whl Python 3 none any Details

Total release size: 317.9 kB

Release files / certifi-2023.7.22.tar.gz

Download URL certifi-2023.7.22.tar.gz
Size 159.5 kB
Tags Source
SHA-256 checksum
How to use checksums
539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082
BLAKE2b-256 checksum
How to use checksums
9898c2ff18671db109c9f10ed27f5ef610ae05b73bd876664139cf95bd1429aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.17

Release files / certifi-2023.7.22-py3-none-any.whl

Download URL certifi-2023.7.22-py3-none-any.whl
Size 158.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9
BLAKE2b-256 checksum
How to use checksums
4cdd2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.17

Release history Release notifications | RSS feed

This release

2023.7.22 This release

2 release files

1.0.1

2 release files

1.0.0

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page