Post

Azure az behind corporate proxy

Azure az behind corporate proxy

Azure az behind corporate proxy

Url that solves that problem with being behind corporate proxy

https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively?tabs=bash%2Cbash2

1
2
3
4
5
6
7
8
# https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively?tabs=bash%2Cbash2
cat ~/Documents/proxyCA.crt >>  /usr/local/Cellar/azure-cli/2.39.0/libexec/lib/python3.10/site-packages/certifi/cacert.pem

# Latest version
brew config
cat ~/Documents/proxyCA.crt >> /opt/homebrew/Cellar/azure-cli/2.57.0/libexec/lib/python3.11/site-packages/certifi/cacert.pem
export REQUESTS_CA_BUNDLE=/opt/homebrew/Cellar/azure-cli/2.57.0/libexec/lib/python3.11/site-packages/certifi/cacert.pem
az login
This post is licensed under CC BY 4.0 by the author.