Azure CLI fails with 'certificate verify failed' behind proxy
See original GitHub issueIf I export HTTPS_PROXY=http://localhost:8080
with mitmproxy
running, I get this from the CLI:
Please ensure you have network connection. Error detail: ("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",)
For the other CLIs, there is an env var that can be exported to disable the strict checking and allow this for debug scenarios. Is that an equivalent for az
?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
az login fails with CERTIFICATE_VERIFY_FAILED and I am ...
Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed ...
Read more >ERROR Azure CLI behind a proxy that intercepts traffic
c:997)'))) Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self- ...
Read more >SSL handshake error with some Azure CLI commands
Having contacted the azure cli team, it appears there is a bug that affects keyvault commands that are run behind a proxy.
Read more >Certificate Errors Azure CLI – Colin Beveridge
request failed : Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a ...
Read more >Working with Azure CLI behind SSL intercepting proxy server
This might be due to your ssl intercepting corporate proxy server. The proxy server might be using unsigned certificates or more likely it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@colemickens try setting the following environment variables: ADAL_PYTHON_SSL_NO_VERIFY and AZURE_CLI_DISABLE_CONNECTION_VERIFICATION.
Working behind a proxy provides detailed instructions on how to trust a custom root certificate.