I followed the documentation and generated root and intermediate certificates.
Link to documentation ->https://learn.microsoft.com/en-us/azure/event-grid/mqtt-certificate-chain-client-authentication
However, Now i am unable to upload this to the event grid namespace. How do i resolve this issue ?
2
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.
To convert a certificate:
$certFilePath = "C:Pathtocertificate.cer" Export-Certificate -Cert $cert -FilePath $certFilePath -Type CERT
. Refer to this for CA certificate chain.
Click here to cancel reply.
2
Answers
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.
To convert a certificate:
. Refer to this for CA certificate chain.