From da246958b41f6548914fb185d7d91094cabd1157 Mon Sep 17 00:00:00 2001 From: Jaap Roes Date: Wed, 7 Sep 2022 09:48:59 +0200 Subject: [PATCH] Fix CURL_CA_BUNDLE override example Promote REQUESTS_CA_BUNDLE as it is looked at first --- docs/user/advanced.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 7decdb6029..c664a83d30 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -656,10 +656,10 @@ certificates trusted by Requests can be found with:: from requests.utils import DEFAULT_CA_BUNDLE_PATH print(DEFAULT_CA_BUNDLE_PATH) -You override this default certificate bundle by setting the standard -``curl_ca_bundle`` environment variable to another file path:: +You override this default certificate bundle by setting the ``REQUESTS_CA_BUNDLE`` +(or ``CURL_CA_BUNDLE``) environment variable to another file path:: - $ export curl_ca_bundle="/usr/local/myproxy_info/cacert.pem" + $ export REQUESTS_CA_BUNDLE="/usr/local/myproxy_info/cacert.pem" $ export https_proxy="http://10.10.1.10:1080" $ python