Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

(Python Distribution) A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.

License

NotificationsYou must be signed in to change notification settings

Nirzak/python-certifi

 
 

Repository files navigation

Certifi provides Mozilla's carefully curated collection of Root Certificates forvalidating the trustworthiness of SSL certificates while verifying the identityof TLS hosts. It has been extracted from theRequests project.

Installation

certifi is available on PyPI. Simply install it withpip:

$ pip install certifi

Usage

To reference the installed certificate authority (CA) bundle, you can use thebuilt-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!

1024-bit Root Certificates

Browsers and certificate authorities have concluded that 1024-bit keys areunacceptably weak for certificates, particularly root certificates. For thisreason, Mozilla has removed any weak (i.e. 1024-bit key) certificate from itsbundle, replacing it with an equivalent strong (i.e. 2048-bit or greater key)certificate from the same CA. Because Mozilla removed these certificates fromits bundle,certifi removed them as well.

In previous versions,certifi provided thecertifi.old_where() functionto intentionally re-add the 1024-bit roots back into your bundle. This was notrecommended in production and therefore was removed at the end of 2018.

Addition/Removal of Certificates

Certifi does not support any addition/removal or other modification of theCA trust store content. This project is intended to provide a reliable andhighly portable root of trust to python deployments. Look to upstream projectsfor methods to use alternate trust.

About

(Python Distribution) A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python97.0%
  • Makefile3.0%

[8]ページ先頭

©2009-2025 Movatter.jp