Skip to content
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

az keyvault certificate show returning null for x509CertificateProperties.subjectAlternativeNames in 4.49.0 #26527

Closed
andysbolton opened this issue May 24, 2023 · 2 comments · Fixed by #26530
Assignees
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. Installation KeyVault az keyvault question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@andysbolton
Copy link

andysbolton commented May 24, 2023

Related command

az keyvault

Describe the bug

In 4.8.1, az keyvault certificate show would successfully return the x509CertificateProperties.subjectAlternativeNames.

image

In 4.49.0, x509CertificateProperties.subjectAlternativeNames is null:

image

I didn't see this listed in the breaking changes, though I'm not sure if I missed something.

To Reproduce

Query for a certificate in 4.49.0.

Expected behavior

x509CertificateProperties.subjectAlternativeNames should not be null.

Environment summary

I've recreated this on both Debian (fish and bash) and Windows (Powershell).

Additional context

@ghost ghost added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot KeyVault az keyvault labels May 24, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented May 24, 2023

Thank you for opening this issue, we will look into it.

@ghost ghost assigned evelyn-ys May 24, 2023
@ghost ghost added this to the Backlog milestone May 24, 2023
@ghost ghost added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Installation labels May 24, 2023
@ghost ghost assigned jiasli May 24, 2023
@andysbolton andysbolton changed the title az keyvault certificate show returning null for x509CertificateProperties.subjectAlternativeNames az keyvault certificate show returning null for x509CertificateProperties.subjectAlternativeNames in 4.9.0 May 24, 2023
@andysbolton andysbolton changed the title az keyvault certificate show returning null for x509CertificateProperties.subjectAlternativeNames in 4.9.0 az keyvault certificate show returning null for x509CertificateProperties.subjectAlternativeNames in 4.9.0 May 24, 2023
@calvinhzy
Copy link
Member

Looking into this.

@yonzhan yonzhan assigned calvinhzy and unassigned jiasli May 25, 2023
@andysbolton andysbolton changed the title az keyvault certificate show returning null for x509CertificateProperties.subjectAlternativeNames in 4.9.0 az keyvault certificate show returning null for x509CertificateProperties.subjectAlternativeNames in 4.49.0 May 25, 2023
calvinhzy added a commit that referenced this issue May 26, 2023
…09CertificateProperties.subjectAlternativeNames correctly (#26530)

* fix `az keyvault certificate show` policy.x509CertificateProperties.subjectAlternativeNames, which does not have to have all three components.

* fix name
avgale pushed a commit to avgale/azure-cli that referenced this issue Aug 24, 2023
…cy.x509CertificateProperties.subjectAlternativeNames correctly (Azure#26530)

* fix `az keyvault certificate show` policy.x509CertificateProperties.subjectAlternativeNames, which does not have to have all three components.

* fix name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. Installation KeyVault az keyvault question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
5 participants