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.

Metadata

Release files for certifi 2024.2.2

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.2.2
File Size Uploaded Provenance Actions
certifi-2024.2.2.tar.gz 164.9 kB Without provenance Details for certifi-2024.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 328.7 kB

Release files / certifi-2024.2.2.tar.gz

Download URL certifi-2024.2.2.tar.gz
Size 164.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f
BLAKE2b-256 checksum
How to use checksums
71dae94e26401b62acd6d91df2b52954aceb7f561743aa5ccc32152886c76c96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

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

Download URL certifi-2024.2.2-py3-none-any.whl
Size 163.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1
BLAKE2b-256 checksum
How to use checksums
ba06a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for certifi 2024.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2024.2.2 This release

2 release files No provenance

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