Skip to content

Commit

Permalink
Merge pull request #6234 from jaap3/patch-1
Browse files Browse the repository at this point in the history
Fix CURL_CA_BUNDLE override example
  • Loading branch information
sigmavirus24 authored Sep 9, 2022
2 parents 177dd90 + da24695 commit 7104ad4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7104ad4

Please sign in to comment.