30 lines
716 B
ReStructuredText
30 lines
716 B
ReStructuredText
Certifi: Python SSL Certificates
|
|
================================
|
|
|
|
`Certifi`_ is a 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 CA Bundle, you can use the built-in function::
|
|
|
|
>>> import certifi
|
|
|
|
>>> certifi.where()
|
|
'/usr/local/lib/python2.7/site-packages/certifi/cacert.pem'
|
|
|
|
Enjoy!
|
|
|
|
.. _`Certifi`: http://certifi.io/en/latest/
|
|
.. _`Requests`: http://docs.python-requests.org/en/latest/
|
|
|
|
|