Skip to content

Commit 7104ad4

Browse files
authored
Merge pull request #6234 from jaap3/patch-1
Fix CURL_CA_BUNDLE override example
2 parents 177dd90 + da24695 commit 7104ad4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/user/advanced.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,10 +656,10 @@ certificates trusted by Requests can be found with::
656656
from requests.utils import DEFAULT_CA_BUNDLE_PATH
657657
print(DEFAULT_CA_BUNDLE_PATH)
658658

659-
You override this default certificate bundle by setting the standard
660-
``curl_ca_bundle`` environment variable to another file path::
659+
You override this default certificate bundle by setting the ``REQUESTS_CA_BUNDLE``
660+
(or ``CURL_CA_BUNDLE``) environment variable to another file path::
661661

662-
$ export curl_ca_bundle="/usr/local/myproxy_info/cacert.pem"
662+
$ export REQUESTS_CA_BUNDLE="/usr/local/myproxy_info/cacert.pem"
663663
$ export https_proxy="http://10.10.1.10:1080"
664664

665665
$ python

0 commit comments

Comments
 (0)