-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Az login fails: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) #23063
Comments
Downgrading allowed me to log in again. cat /var/log/apt/history.log # find the version I uninstalled :P
apt-cache policy azure-cli # list versions available for install
sudo apt-get install azure-cli=2.0.81+ds-4ubuntu0.2 Upgrading caused it to fail again, but with a more verbose error
Will investigate my proxy situation |
Login works on new version if done using AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1 az login --use-device Obviously this is not a healthy approach, but I'll take it over things just not working entirely since I have no idea how our work proxy is doing things or if we even have a work proxy running on the vm I'm on. Links: |
@jiasli for awareness |
There is one weird thing - with a proxy, Azure CLI fails at the authentication step connecting
but in your log, it fails while connecting to |
I think there might be some traffic inspection going in at a firewall somewhere before it reaches the machine, but I doubt it's only applying to management.azure |
Duplicate of #19571 |
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az login --use-device-code --debug
Expected Behavior
Environment Summary
Additional Context
Seems to have manifested after trying to update from the wrong package, following this
Tried some fixes, none helped.
The text was updated successfully, but these errors were encountered: