Skip to content
Myr

Merge pull request #4497 from jdufresne/docs-certfi

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Clarify docs that Requests always uses certs from certifi

authored by Nate Prewitt · committed by GitHub · parents 3c1d36b, 9c0db92 · Browse files · 1 file+7 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−8 removed

  • other:+7 added−8 removed

1 file+7 added−8 removed

modified:docs/user/advanced.rst+7 added-8 removed
272 unmodified lines
273274CA Certificates275---------------276277By default, Requests bundles a set of root CAs that it trusts, sourced from the278`Mozilla trust store`_. However, these are only updated once for each Requests279version. This means that if you pin a Requests version your certificates can280become extremely out of date.277Requests uses certificates from the package `certifi`_. This allows for users278to update their trusted certificates without changing the version of Requests.279282From Requests version 2.4.0 onwards, Requests will attempt to use certificates283from `certifi`_ if it is present on the system. This allows for users to update284their trusted certificates without having to change the code that runs on their285system.280Before version 2.16, Requests bundled a set of root CAs that it trusted,281sourced from the `Mozilla trust store`_. The certificates were only updated282once for each Requests version. When ``certifi`` was not installed, this led to283extremely out-of-date certificate bundles when using significantly older284versions of Requests.285286For the sake of security we recommend upgrading certifi frequently!287288.. _HTTP persistent connection: https://en.wikipedia.org/wiki/HTTP_persistent_connection
747 unmodified lines