It would seem the issue was caused by a recent change to Frontdoor classic. I believe the issue is now fixed and (for me at least) certs can now be provisioned from keyvault
Error adding HTTPS certificate stored in Key Vault to Azure FrontDoor Classic: "Error: We were unable to read the private key for the certificate provided. The server (leaf) certificate private key may be corrupted."
Hello,
I am encountering an issue while attempting to add an HTTPS certificate stored in Key Vault to Azure FrontDoor Classic. The specific error message I receive is as follows:
"Error: We were unable to read the private key for the certificate provided. The server (leaf) certificate private key may be corrupted."
Interestingly, when I utilize Azure FrontDoor Standard, I can successfully add the same certificate without any problems. This issue seems to be isolated to Azure FrontDoor Classic.
I would greatly appreciate any assistance or insights into resolving this issue. Thank you very much.
Azure Front Door
3 answers
Sort by: Most helpful
-
-
GitaraniSharma-MSFT 50,021 Reputation points Microsoft Employee Moderator
2023-07-03T10:16:22.35+00:00 Hello @楊 済光 ,
I understand that you were unable to add an HTTPS certificate stored in Key Vault to Azure Front Door Classic as it was failing with an error "We were unable to read the private key for the certificate provided. The server (leaf) certificate private key may be corrupted".
I checked internally and found that this is an ongoing issue affecting multiple customers.
I reached to the Azure Front Door Product Group team for more information and below is the update:
The Azure Front Door team mentioned that there was a recent deployment which caused this issue, so they have rolled back that deployment now. And you should be able to add HTTPS certificate from Key Vault to Azure Front Door Classic without any issues.
Request you to try to add the certificate again and let us know if you face any issues.
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
-
Anonymous
2023-09-27T02:51:45.98+00:00 I am having a similar issue with Microsoft Frontdoor Standard where I am not able to import the certificate from the Azure key vault
az keyvault secret show --name <name> --vault-name <vault name> --query contentType
"application/x-pkcs12"
Code="BadRequest" Message="The secret contains an unsupported content type. The content type needs to be application/x-pkcs12."
Any help with this is much appreciated.