Skip to main content

Python package for providing Mozilla's CA Bundle.

Project description

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certifi-2025.6.15.tar.gz (158.8 kB view details)

Uploaded Source

Built Distribution

certifi-2025.6.15-py3-none-any.whl (157.7 kB view details)

Uploaded Python 3

File details

Details for the file certifi-2025.6.15.tar.gz.

File metadata

  • Download URL: certifi-2025.6.15.tar.gz
  • Upload date:
  • Size: 158.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for certifi-2025.6.15.tar.gz
Algorithm Hash digest
SHA256 d747aa5a8b9bbbb1bb8c22bb13e22bd1f18e9796defa16bab421f7f7a317323b
MD5 cdfa407bef7c84166c07e71d7a89b628
BLAKE2b-256 73f7f14b46d4bcd21092d7d3ccef689615220d8a08fb25e564b65d20738e672e

See more details on using hashes here.

Provenance

The following attestation bundles were made for certifi-2025.6.15.tar.gz:

Publisher: release.yml on certifi/python-certifi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file certifi-2025.6.15-py3-none-any.whl.

File metadata

  • Download URL: certifi-2025.6.15-py3-none-any.whl
  • Upload date:
  • Size: 157.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for certifi-2025.6.15-py3-none-any.whl
Algorithm Hash digest
SHA256 2e0c7ce7cb5d8f8634ca55d2ba7e6ec2689a2fd6537d8dec1296a477a4910057
MD5 8845c8810c449703d1988932c38d3bea
BLAKE2b-256 84ae320161bd181fc06471eed047ecce67b693fd7515b16d495d8932db763426

See more details on using hashes here.

Provenance

The following attestation bundles were made for certifi-2025.6.15-py3-none-any.whl:

Publisher: release.yml on certifi/python-certifi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page