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

Uploaded Source

Built Distribution

certifi-2024.7.4-py3-none-any.whl (163.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: certifi-2024.7.4.tar.gz
  • Upload date:
  • Size: 164.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for certifi-2024.7.4.tar.gz
Algorithm Hash digest
SHA256 5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b
MD5 ecf1d20e4c505fc07c8f421063d04103
BLAKE2b-256 c202a95f2b11e207f68bc64d7aae9666fed2e2b3f307748d5123dffb72a1bbea

See more details on using hashes here.

File details

Details for the file certifi-2024.7.4-py3-none-any.whl.

File metadata

  • Download URL: certifi-2024.7.4-py3-none-any.whl
  • Upload date:
  • Size: 163.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for certifi-2024.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90
MD5 97c327459352be2f2a95785ea98c5712
BLAKE2b-256 1cd5c84e1a17bf61d4df64ca866a1c9a913874b4e9bdc131ec689a0ad013fb36

See more details on using hashes here.

Supported by

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