Azure CDN + Key Vault

dannomac 1 Reputation point
2020-10-19T20:19:41.967+00:00

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 Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,148 questions
Azure Content Delivery Network
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. suvasara-MSFT 10,011 Reputation points
    2020-10-19T20:55:33.143+00:00

    @dannomac , 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.

    1 person found this answer helpful.
    0 comments No comments

  2. dannomac 1 Reputation point
    2020-10-19T21:38:58.81+00:00

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

    0 comments No comments