Skip to content

Commit

Permalink
Merge pull request #2248 from jktjkt/docs-CAs
Browse files Browse the repository at this point in the history
docs: Clarify how to pass a custom set of CAs
  • Loading branch information
Lukasa committed Sep 25, 2014
2 parents de76fbe + 3635b15 commit a718a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user/advanced.rst
Expand Up @@ -166,7 +166,7 @@ I don't have SSL setup on this domain, so it fails. Excellent. GitHub does thoug
>>> requests.get('https://github.com', verify=True)
<Response [200]>

You can also pass ``verify`` the path to a CA_BUNDLE file for private certs. You can also set the ``REQUESTS_CA_BUNDLE`` environment variable.
You 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.

Requests can also ignore verifying the SSL certificate if you set ``verify`` to False.

Expand Down

0 comments on commit a718a81

Please sign in to comment.