Skip to content

2.77.0 raises error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Missing Authority Key Identifier (_ssl.c:1032)Β #32083

@tamaw

Description

@tamaw

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

Metadata

Metadata

Assignees

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-Issuecommon issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions