MicrosoftDocs/azure-docs-cli

The recommended path for the REQUESTS_CA_BUNDLE environment variable is incorrect for 64-bit Windows

Closed this issue · 2 comments

Prerequisites

  • Write a descriptive title.
  • Search the existing issues.
  • I am reporting the documentation problem for the current version of Azure CLI.

Azure CLI version being used

2.55.0

Link to affected document

https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively?tabs=bash%2Cbash2#work-behind-a-proxy

Description of the documentation error

The recommended path for the REQUESTS_CA_BUNDLE on Windows is

C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi\cacert.pem

But on 64-bit Windows it's in

C:\Program Files\...

Suggested fix

It would be nice if we could just say %ProgramFiles%\..., but that environment variable isn't set consistently across CMD and different versions of Powershell. I would probably list them both?

@sethlivingston
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

@sethlivingston, Thank you for bringing this to our attention. This has been fixed in #4075