From a4aa04c3444747812105b0f4597f96d89195e189 Mon Sep 17 00:00:00 2001 From: TKE Date: Wed, 3 Jun 2020 16:04:51 +0200 Subject: [PATCH] Added Line to Bash-Proxy-Script for SSL with Python-Requests --- proxy/update_bashrc_proxy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/update_bashrc_proxy.sh b/proxy/update_bashrc_proxy.sh index 22c6da7..a85668b 100755 --- a/proxy/update_bashrc_proxy.sh +++ b/proxy/update_bashrc_proxy.sh @@ -22,6 +22,7 @@ echo 'export "HTTP_PROXY=http://'"${username}"':"'"${encpassword}@${proxy_ip}:${ echo 'export "HTTPS_PROXY=http://'"${username}"':"'"${encpassword}@${proxy_ip}:${proxy_port}/" >> "${proxy_file}" echo 'export "http_proxy=http://'"${username}"':"'"${encpassword}@${proxy_ip}:${proxy_port}/" >> "${proxy_file}" echo 'export "https_proxy=http://'"${username}"':"'"${encpassword}@${proxy_ip}:${proxy_port}/" >> "${proxy_file}" +echo 'export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt' >> "${proxy_file}" echo "[ -f ${noproxy_file} ] && . ${noproxy_file}" >> "${proxy_file}" [ -f "${noproxy_file}" ] || echo 'export "NO_PROXY=localhost,127.0.0.1"' > "${noproxy_file}"