Unable to upload root certificate Event Grid Namespace

183 Views Asked by At

I followed the documentation and generated root and intermediate certificates. enter image description here

Link to documentation ->https://learn.microsoft.com/en-us/azure/event-grid/mqtt-certificate-chain-client-authentication enter image description here

However, Now i am unable to upload this to the event grid namespace. enter image description here How do i resolve this issue ?

2

There are 2 best solutions below

0
Sampath On BEST ANSWER

To convert a certificate:

 $certFilePath = "C:\Path\to\certificate.cer"
 Export-Certificate -Cert $cert -FilePath $certFilePath -Type CERT

enter image description here

enter image description here

enter image description here

. Refer to this for CA certificate chain.

0
Niescte On

The files are currently in .crt format. It has to be converted to .pem or .cer. If you can open the file in a text editor, copy the contents and save it with .pem extension to convert it to .pem.