|
| 1 | +Metadata-Version: 2.1 |
| 2 | +Name: certifi |
| 3 | +Version: 2020.12.5 |
| 4 | +Summary: Python package for providing Mozilla's CA Bundle. |
| 5 | +Home-page: https://certifiio.readthedocs.io/en/latest/ |
| 6 | +Author: Kenneth Reitz |
| 7 | +Author-email: me@kennethreitz.com |
| 8 | +License: MPL-2.0 |
| 9 | +Project-URL: Documentation, https://certifiio.readthedocs.io/en/latest/ |
| 10 | +Project-URL: Source, https://github.com/certifi/python-certifi |
| 11 | +Platform: UNKNOWN |
| 12 | +Classifier: Development Status :: 5 - Production/Stable |
| 13 | +Classifier: Intended Audience :: Developers |
| 14 | +Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) |
| 15 | +Classifier: Natural Language :: English |
| 16 | +Classifier: Programming Language :: Python |
| 17 | +Classifier: Programming Language :: Python :: 3 |
| 18 | +Classifier: Programming Language :: Python :: 3.3 |
| 19 | +Classifier: Programming Language :: Python :: 3.4 |
| 20 | +Classifier: Programming Language :: Python :: 3.5 |
| 21 | +Classifier: Programming Language :: Python :: 3.6 |
| 22 | +Classifier: Programming Language :: Python :: 3.7 |
| 23 | +Classifier: Programming Language :: Python :: 3.8 |
| 24 | +Classifier: Programming Language :: Python :: 3.9 |
| 25 | + |
| 26 | +Certifi: Python SSL Certificates |
| 27 | +================================ |
| 28 | + |
| 29 | +`Certifi`_ provides Mozilla's carefully curated collection of Root Certificates for |
| 30 | +validating the trustworthiness of SSL certificates while verifying the identity |
| 31 | +of TLS hosts. It has been extracted from the `Requests`_ project. |
| 32 | + |
| 33 | +Installation |
| 34 | +------------ |
| 35 | + |
| 36 | +``certifi`` is available on PyPI. Simply install it with ``pip``:: |
| 37 | + |
| 38 | + $ pip install certifi |
| 39 | + |
| 40 | +Usage |
| 41 | +----- |
| 42 | + |
| 43 | +To reference the installed certificate authority (CA) bundle, you can use the |
| 44 | +built-in function:: |
| 45 | + |
| 46 | + >>> import certifi |
| 47 | + |
| 48 | + >>> certifi.where() |
| 49 | + '/usr/local/lib/python3.7/site-packages/certifi/cacert.pem' |
| 50 | + |
| 51 | +Or from the command line:: |
| 52 | + |
| 53 | + $ python -m certifi |
| 54 | + /usr/local/lib/python3.7/site-packages/certifi/cacert.pem |
| 55 | + |
| 56 | +Enjoy! |
| 57 | + |
| 58 | +1024-bit Root Certificates |
| 59 | +~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 60 | + |
| 61 | +Browsers and certificate authorities have concluded that 1024-bit keys are |
| 62 | +unacceptably weak for certificates, particularly root certificates. For this |
| 63 | +reason, Mozilla has removed any weak (i.e. 1024-bit key) certificate from its |
| 64 | +bundle, replacing it with an equivalent strong (i.e. 2048-bit or greater key) |
| 65 | +certificate from the same CA. Because Mozilla removed these certificates from |
| 66 | +its bundle, ``certifi`` removed them as well. |
| 67 | + |
| 68 | +In previous versions, ``certifi`` provided the ``certifi.old_where()`` function |
| 69 | +to intentionally re-add the 1024-bit roots back into your bundle. This was not |
| 70 | +recommended in production and therefore was removed at the end of 2018. |
| 71 | + |
| 72 | +.. _`Certifi`: https://certifiio.readthedocs.io/en/latest/ |
| 73 | +.. _`Requests`: https://requests.readthedocs.io/en/master/ |
| 74 | + |
| 75 | +Addition/Removal of Certificates |
| 76 | +-------------------------------- |
| 77 | + |
| 78 | +Certifi does not support any addition/removal or other modification of the |
| 79 | +CA trust store content. This project is intended to provide a reliable and |
| 80 | +highly portable root of trust to python deployments. Look to upstream projects |
| 81 | +for methods to use alternate trust. |
| 82 | + |
| 83 | + |
0 commit comments