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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

certifi-2026.4.22-py3-none-any.whl (135.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for certifi-2026.4.22.tar.gz
Algorithm Hash digest
SHA256 8d455352a37b71bf76a79caa83a3d6c25afee4a385d632127b6afb3963f1c580
MD5 238385f505d22767cd1860661f1c5743
BLAKE2b-256 25ee6caf7a40c36a1220410afe15a1cc64993a1f864871f698c0f93acb72842a

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for certifi-2026.4.22-py3-none-any.whl
Algorithm Hash digest
SHA256 3cb2210c8f88ba2318d29b0388d1023c8492ff72ecdde4ebdaddbb13a31b1c4a
MD5 a524df3261ff972bbe811eb7307a79ed
BLAKE2b-256 22307cd8fdcdfbc5b869528b079bfb76dcdf6056b1a2097a662e5e8c04f42965

See more details on using hashes here.

Provenance

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

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