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

Customer feedback | az eventgrid namespace ca-certificate | need PEM file format example #8274

Open
dbradish-microsoft opened this issue Nov 13, 2024 · 3 comments
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. Event Grid Service Attention This issue is responsible by Azure service team.

Comments

@dbradish-microsoft
Copy link
Contributor

Describe the bug

This GitHub issue is being moved from Azure DevOps UUF 337756.


Engineering request

  1. Provide an example PEM file format in the long-summary or a separate code block.

  2. The customer also needs tips for success such as

    • Remove all newlines in PEM file. In Bash run cat ./intermediate-ca.pem | tr -d '' > ./intermediate-ca-formatted.pem
    • CA certificate name can be 3-50 characters long.
    • CA certificate name can include alphanumeric, hyphen(-) and, no spaces.
    • The name needs to be unique per namespace.

Customer feedback

Repo:

azure-docs-cli

Title:
az eventgrid namespace ca-certificate | Microsoft Learn

Verbatim:
I am begging you with every part of my being to please provide a correct example of the file format for certificate upload. The REST response simply says that it must be valid PEM, but the API rejects standard compliant PEM with newlines and the format needs to be with newlines removed.cat ./intermediate-ca.pem | tr -d '' > ./intermediate-ca-formatted.pemGets you to the right place.

Verbatim Id:
96adaf05-569a-ef11-8a6a-6045bd007ef6

Live URL:
https://learn.microsoft.com/en-us/cli/azure/eventgrid/namespace/ca-certificate

GitHub URL:
https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/2020-09-01-hybrid/docs-ref-autogen/eventgrid/namespace/ca-certificate.yml

UUF Triage App Feedback URL:
https://aka.ms/UUFTriageApp?pageviewid=91b7b4b4-546c-3a2c-b628-b26d7dcd5f48

Related command

az eventgrid namespace ca-certificate

Errors

the API rejects standard compliant PEM with newlines and the format needs to be with newlines removed

Issue script & Debug output

.

Expected behavior

.

Environment Summary

Azure CLI 2.66.0

Additional context

No response

@dbradish-microsoft dbradish-microsoft added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Nov 13, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Service Attention This issue is responsible by Azure service team. Event Grid labels Nov 13, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 13, 2024

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

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl.

@irfanliaqat-ts
Copy link

Facing same issue while creating ca-certificate using Az Cli [azure-cli 2.59.0, eventgrid 1.0.0b1].
Also, while creating ca-certificate via Terraform using AzAPI [Terraform v1.8.4, azure/azapi v2.1.0].

OS: Microsoft Windows Version 23H2 (OS Build 22631.4317)

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 bug This issue requires a change to an existing behavior in the product in order to be resolved. Event Grid Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants