-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the bug
This GitHub issue is being moved from Azure DevOps UUF 337756.
Engineering request
-
Provide an example PEM file format in the
long-summaryor a separate code block. -
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.
- Remove all newlines in PEM file. In Bash run
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
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