-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Polish SSLError #11093
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
Polish SSLError #11093
Conversation
| "More details are available at https://github.com/AzureAD/microsoft-authentication-library-for-python/wiki/Username-Password-Authentication") | ||
| raise CLIError(err) | ||
| except requests.exceptions.SSLError as err: | ||
| raise CLIError('Certificate verification failed. Please typically happens when using Azure CLI behind a proxy ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo Please typically happens
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch. Fixed in new commit.
|
@jiasli, Why is |
Polish
SSLErrorreported in issues #11069, #11068, #10921, #10860, #10272 ...Changed 3 places:
src/azure-cli/azure/cli/command_modules/profile/custom.pywhen logging insrc/azure-cli-core/azure/cli/core/adal_authentication.pywhen retrieving tokenssrc/azure-cli-core/azure/cli/core/util.pywhen making REST requestsTo test, replace
<virtual env>\Lib\site-packages\certifi\cacert.pemwith some self-signed certificate like Fiddler's:az loginnow fails withIf logged in,
az vm listfails with similar message.This checklist is used to make sure that common guidelines for a pull request are followed.
The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).
I adhere to the Command Guidelines.