Debian Codegraph @

README.rst

raw
1 Certifi: Python SSL Certificates
2 ================================
3
4 Certifi provides Mozilla's carefully curated collection of Root Certificates for
5 validating the trustworthiness of SSL certificates while verifying the identity
6 of TLS hosts. It has been extracted from the `Requests`_ project.
7
8 Installation
9 ------------
10
11 ``certifi`` is available on PyPI. Simply install it with ``pip``::
12
13 $ pip install certifi
14
15 Usage
16 -----
17
18 To reference the installed certificate authority (CA) bundle, you can use the
19 built-in function::
20
21 >>> import certifi
22
23 >>> certifi.where()
24 '/usr/local/lib/python3.7/site-packages/certifi/cacert.pem'
25
26 Or from the command line::
27
28 $ python -m certifi
29 /usr/local/lib/python3.7/site-packages/certifi/cacert.pem
30
31 Enjoy!
32
33 .. _`Requests`: https://requests.readthedocs.io/en/latest/
34
35 Addition/Removal of Certificates
36 --------------------------------
37
38 Certifi does not support any addition/removal or other modification of the
39 CA trust store content. This project is intended to provide a reliable and
40 highly portable root of trust to python deployments. Look to upstream projects
41 for methods to use alternate trust.