Certificate error in fromtdoor

Balvvant Singh Bisht 0 Reputation points
2025-06-25T14:01:48.0966667+00:00

We have bought our own SSL ceetificate. And uploaded the pfx file in the key vault. Now we need to apply that certificate to our configurered front door. The front door allows us to select the certificate but instead of applying it gives following error.

Failed to create the secret

Failed to create the secret 'PFXCERTIFICATE1-PFxcertificatenew-latest'. Error: We don't have permission to access this secret. Go to "Access policies" in your Key Vault account to give Microsoft.AzureFrontDoor-Cdn or managed identities (if you enabled managed identities in profile) permission to get secrets.

can you please help?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
850 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TP 124.7K Reputation points Volunteer Moderator
    2025-06-25T14:41:10.1833333+00:00

    Hi,

    Please make sure you enabled managed identity in your Azure Front Door and then add role assignment for Key Vault Secret User role to the managed identity on your key vault. Once you have done this please re-try selecting your certificate.

    Detailed instructions for enabling Managed Identity to your Azure Front Door and adding role assignment to your Key Vault are in below article:

    Use managed identities to access Azure Key Vault certificates

    https://learn.microsoft.com/en-us/azure/frontdoor/managed-identity

    Please complete the above and let me know your results in a comment. If you run into any issues I will assist you further.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.