From 52facb225722cb52757da44ee915af672435a149 Mon Sep 17 00:00:00 2001 From: Lukas Vacek Date: Mon, 2 May 2016 23:01:49 +0200 Subject: [PATCH] docs: Add a note about SSL c_rehash --- docs/user/advanced.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index efdc406a..1ccdca51 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -208,6 +208,9 @@ You can pass ``verify`` the path to a CA_BUNDLE file or directory with certifica >>> requests.get('https://github.com', verify='/path/to/certfile') +.. note:: If ``verify`` is set to a path to a directory, the directory must have been processed using + the c_rehash utility supplied with OpenSSL. + 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.