-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Use the system certificate store instead of certifi #19305
Comments
@jiasli for awareness |
This problem is resurfacing in 2.33; I believe it was gone in 2.32:
|
@elygre, this problem is not related to different Azure CLI versions, but your proxy's configuration which intercepts traffic to
This is definitely a good idea. There are already lots of discussions regarding this topic in the Python community:
I found some projects which do this:
However, pypa/pip#2510 (comment) says doing this is difficult on Windows. I am not sure if Additional information: |
This worked for me,
I had been getting the Python error when adding extensions. |
I'm trying to run "az upgrade", which fails beautifully presumably due to the corporate proxy we have. #17938 (comment) gives some information on how to solve it, including a link to https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#work-behind-a-proxy.
The outlined mechanism seems ... convoluted. It suggests that I should edit
C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi\cacert.pem
. This requires that I acquire the corporate MITM certificate (it's probably easy, but I don't know how), and that I'm comfortable with the file format. Also, every user would have to do this on every computer.Environment Summary
The text was updated successfully, but these errors were encountered: