-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
After trying to log back in with az login az cli is receiving a certificate problem. With Context it is known the company uses its own CA/IA issued, which has been correctly set and been working previously. The error has been noticed today.
Previously the CA/IA have been imported into a ca bundle and referenced by environment variable REQUEST_CA_BUNDLE which has been working fine.
With the more recent version. 2.77.0 appears to be ignoring the set environment variable. Not confirmed. Requests have been receiving the error CERTIFICATE_VERIFY_FAILED Missing Authority Key Identifier.
Debugging
- The bundle has been checked against any new certificates the org may have issued.
- The environment variable is correctly set and seen when printing and via
gci
Workaround:
Probably not the best idea but setting $env:AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1 works.
Related command
az login
Errors
CERTIFICATE_VERIFY_FAILED
Missing Authority Key Identifier
Issue script & Debug output
Expected behavior
Login to work correctly.
Environment Summary
Environment:
- Windows 10/11 affected
- Powershell
- az cli 2.77.0 as above
Additional context
No response