HOWTO
- https://blog.jhnr.ch/2018/05/16/working-with-azure-cli-behind-ssl-intercepting-proxy-server/
- https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively?tabs=bash%2Cbash2#work-behind-a-proxy
Add SSL intercept certificate to local OS storage
sudo cp SSL-intercept.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
Add into .bashrc
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
Add SSL intercept certificate to Python
cp SSL-intercept.crt /usr/lib/python3/dist-packages/certifi/
No comments:
Post a Comment