Skip to content
Myr

docs: Clarify how to pass a custom set of CAs

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

This new wording makes it hopefully easier to find how to override the system-provided list of trusted CAs. I failed to find this through some googling and had to resort to asking on IRC previously.

authored by Jan Kundrát · committed by Jan Kundrát · parent de76fbe · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/advanced.rst+1 added-1 removed
164 unmodified lines
165166 >>> requests.get('https://github.com', verify=True)167 <Response [200]>168169You can also pass ``verify`` the path to a CA_BUNDLE file for private certs. You can also set the ``REQUESTS_CA_BUNDLE`` environment variable.169You can pass ``verify`` the path to a CA_BUNDLE file with certificates of trusted CAs. This list of trusted CAs can also be specified through the ``REQUESTS_CA_BUNDLE`` environment variable.170171Requests can also ignore verifying the SSL certificate if you set ``verify`` to False.172173::
612 unmodified lines