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

Uploaded Source

Built Distribution

certifi-2025.1.31-py3-none-any.whl (166.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for certifi-2025.1.31.tar.gz
Algorithm Hash digest
SHA256 3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651
MD5 6d326c5b0649c4dee817837c192f3824
BLAKE2b-256 1cabc9f1e32b7b1bf505bf26f0ef697775960db7932abeb7b516de930ba2705f

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for certifi-2025.1.31-py3-none-any.whl
Algorithm Hash digest
SHA256 ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe
MD5 c205c7808745af1661fb0fba4df49238
BLAKE2b-256 38fcbce832fd4fd99766c04d1ee0eead6b0ec6486fb100ae5e74c1d91292b982

See more details on using hashes here.

Provenance

The following attestation bundles were made for certifi-2025.1.31-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 AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page