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 ?
To convert a certificate:
. Refer to this for CA certificate chain.