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

Uploaded Source

Built Distribution

certifi-2025.7.9-py3-none-any.whl (159.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for certifi-2025.7.9.tar.gz
Algorithm Hash digest
SHA256 c1d2ec05395148ee10cf672ffc28cd37ea0ab0d99f9cc74c43e588cbd111b079
MD5 fa6c1b5daa5926e6a42be52bfcd2bc90
BLAKE2b-256 de8ac729b6b60c66a38f590c4e774decc4b2ec7b0576be8f1aa984a53ffa812a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: certifi-2025.7.9-py3-none-any.whl
  • Upload date:
  • Size: 159.2 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.7.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d842783a14f8fdd646895ac26f719a061408834473cfc10203f6a575beb15d39
MD5 50caab4f0c66641801cead59c1738bbc
BLAKE2b-256 66f380a3f974c8b535d394ff960a11ac20368e06b736da395b551a49ce950cce

See more details on using hashes here.

Provenance

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