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

Uploaded Source

Built Distribution

certifi-2024.12.14-py3-none-any.whl (164.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for certifi-2024.12.14.tar.gz
Algorithm Hash digest
SHA256 b650d30f370c2b724812bee08008be0c4163b163ddaec3f2546c1caf65f191db
MD5 e7e7a03aeed4290cc28cc62975aa0149
BLAKE2b-256 0fbd1d41ee578ce09523c81a15426705dd20969f5abf006d1afe8aeff0dd776a

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for certifi-2024.12.14-py3-none-any.whl
Algorithm Hash digest
SHA256 1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56
MD5 99607a258123f2671b6e68607322bf91
BLAKE2b-256 a5328f6669fc4798494966bf446c8c4a162e0b5d893dff088afddf76414f70e1

See more details on using hashes here.

Provenance

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