question

dannomac-6129 avatar image
0 Votes"
dannomac-6129 asked dannomac-6129 answered

Azure CDN + Key Vault

I am trying to get my sectigo SSL cert liked to my Azure CDN but I keep getting this error The secret contains an unsupported content type. The content type needs to be application/x-pkcs12. I have given CDN access to my key vault.

Thanks,
Daniel

azure-key-vaultazure-cdn
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

suvasara-MSFT avatar image
0 Votes"
suvasara-MSFT answered suvasara-MSFT edited

@dannomac-6129, Azure key vault supports importing both PEM and PFX (PKCS12) certificate bundles. However, Azure CDN only supports PFX. If you attempt to apply a PEM formatted certificate to Azure CDN from your Key Vault, then you will encounter this error.


Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

dannomac-6129 avatar image
0 Votes"
dannomac-6129 answered

@suvasara-MSFT I tried changing it to a PFX file but I still got the same error.
Thanks,
Daniel

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.