Skip to main content

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.

Release files for certifi 2024.7.4

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 2024.7.4
File Size Uploaded
certifi-2024.7.4.tar.gz 164.1 kB Details

Built distribution (wheel)

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

Total release size: 327.0 kB

Release files / certifi-2024.7.4.tar.gz

Download URL certifi-2024.7.4.tar.gz
Size 164.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b
BLAKE2b-256 checksum
How to use checksums
c202a95f2b11e207f68bc64d7aae9666fed2e2b3f307748d5123dffb72a1bbea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

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

Download URL certifi-2024.7.4-py3-none-any.whl
Size 163.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90
BLAKE2b-256 checksum
How to use checksums
1cd5c84e1a17bf61d4df64ca866a1c9a913874b4e9bdc131ec689a0ad013fb36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

2024.7.4 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