Skip to content
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

Azure cli -"bad handshake: error" #11068

Closed
sudheeshvelangaraparambil opened this issue Nov 1, 2019 · 2 comments
Closed

Azure cli -"bad handshake: error" #11068

sudheeshvelangaraparambil opened this issue Nov 1, 2019 · 2 comments
Assignees
Labels
Account az login/account
Milestone

Comments

@sudheeshvelangaraparambil

I am getting error while using azure cli.

Getting error while doing 'az login' in terminal window.
Error is:
Please ensure you have network connection. Error detail: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /common/oauth2/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

To Reproduce
Mac OS
Install azure-cli 2.0.75
Python 3.7.3
'az login'

Expected behavior
Login success.

Environment summary
Installed azure cli using brew.

Additional context
Add any other context about the problem here.

@Juliehzl Juliehzl added the Account az login/account label Nov 3, 2019
@yonzhan yonzhan added this to the S161 milestone Nov 4, 2019
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 4, 2019

@jiasli add to S161.

@jiasli
Copy link
Member

jiasli commented Nov 4, 2019

Please see the doc for using CLI behind a proxy. We have also improved the error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Account az login/account
Projects
None yet
Development

No branches or pull requests

4 participants