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.4.26.tar.gz (160.7 kB view details)

Uploaded Source

Built Distribution

certifi-2025.4.26-py3-none-any.whl (159.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for certifi-2025.4.26.tar.gz
Algorithm Hash digest
SHA256 0a816057ea3cdefcef70270d2c515e4506bbc954f417fa5ade2021213bb8f0c6
MD5 507ac42a33a6ea8e9629f5624455c2bf
BLAKE2b-256 e89ec05b3920a3b7d20d3d3310465f50348e5b3694f4f88c6daf736eef3024c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for certifi-2025.4.26.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.4.26-py3-none-any.whl.

File metadata

  • Download URL: certifi-2025.4.26-py3-none-any.whl
  • Upload date:
  • Size: 159.6 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.4.26-py3-none-any.whl
Algorithm Hash digest
SHA256 30350364dfe371162649852c63336a15c70c6510c2ad5015b21c2345311805f3
MD5 2e5db33ebc696e3759337175b57f661b
BLAKE2b-256 4a7e3db2bd1b1f9e95f7cddca6d6e75e2f2bd9f51b1246e546d88addca0106bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for certifi-2025.4.26-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