From 9504a6dddf48638c50ecad9edd72e321369e3ef1 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 13 Dec 2021 19:25:23 +0000 Subject: [PATCH] Document the curl_ca_bundle environment variable --- doc/src/man/linkchecker.rst | 2 ++ linkcheck/director/console.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/src/man/linkchecker.rst b/doc/src/man/linkchecker.rst index b8a9b220..904f60bd 100644 --- a/doc/src/man/linkchecker.rst +++ b/doc/src/man/linkchecker.rst @@ -334,6 +334,8 @@ under Windows systems. On a Mac use the Internet Config to select a proxy. You can also set a comma-separated domain list in the :envvar:`no_proxy` environment variables to ignore any proxy settings for these domains. +The :envvar:`curl_ca_bundle` environment variable can be used to identify an +alternative certificate bundle to be used with an HTTPS proxy. Setting a HTTP proxy on Unix for example looks like this: diff --git a/linkcheck/director/console.py b/linkcheck/director/console.py index 318173ff..e2bc6e06 100644 --- a/linkcheck/director/console.py +++ b/linkcheck/director/console.py @@ -105,7 +105,7 @@ def print_env_info(key, out=stderr): def print_proxy_info(out=stderr): """Print proxy info.""" - for key in ("http_proxy", "https_proxy", "no_proxy"): + for key in ("http_proxy", "https_proxy", "curl_ca_bundle", "no_proxy"): print_env_info(key, out=out)