METADATA 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Metadata-Version: 2.1
  2. Name: certifi
  3. Version: 2021.10.8
  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. Certifi: Python SSL Certificates
  26. ================================
  27. `Certifi`_ provides Mozilla's carefully curated collection of Root Certificates for
  28. validating the trustworthiness of SSL certificates while verifying the identity
  29. of TLS hosts. It has been extracted from the `Requests`_ project.
  30. Installation
  31. ------------
  32. ``certifi`` is available on PyPI. Simply install it with ``pip``::
  33. $ pip install certifi
  34. Usage
  35. -----
  36. To reference the installed certificate authority (CA) bundle, you can use the
  37. built-in function::
  38. >>> import certifi
  39. >>> certifi.where()
  40. '/usr/local/lib/python3.7/site-packages/certifi/cacert.pem'
  41. Or from the command line::
  42. $ python -m certifi
  43. /usr/local/lib/python3.7/site-packages/certifi/cacert.pem
  44. Enjoy!
  45. 1024-bit Root Certificates
  46. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  47. Browsers and certificate authorities have concluded that 1024-bit keys are
  48. unacceptably weak for certificates, particularly root certificates. For this
  49. reason, Mozilla has removed any weak (i.e. 1024-bit key) certificate from its
  50. bundle, replacing it with an equivalent strong (i.e. 2048-bit or greater key)
  51. certificate from the same CA. Because Mozilla removed these certificates from
  52. its bundle, ``certifi`` removed them as well.
  53. In previous versions, ``certifi`` provided the ``certifi.old_where()`` function
  54. to intentionally re-add the 1024-bit roots back into your bundle. This was not
  55. recommended in production and therefore was removed at the end of 2018.
  56. .. _`Certifi`: https://certifiio.readthedocs.io/en/latest/
  57. .. _`Requests`: https://requests.readthedocs.io/en/master/
  58. Addition/Removal of Certificates
  59. --------------------------------
  60. Certifi does not support any addition/removal or other modification of the
  61. CA trust store content. This project is intended to provide a reliable and
  62. highly portable root of trust to python deployments. Look to upstream projects
  63. for methods to use alternate trust.