How to export certificate in "PFX" format from Azure Key Vault?

Volodymyr Osadchuk 20 Reputation points
2023-10-21T09:40:57.28+00:00

I generated an Azure Key Vault Certificate and uploaded it, now it's in active status.

When I'm clicking Download in PFX/PEM format, only the .pem format is downloaded. However, the Azure App Service requires a certificate only in .pfx format.

So, is it possible to get this .pfx format?

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,451 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Trevor Lacey 85 Reputation points
    2023-10-21T23:46:29.6366667+00:00

    A .pem file contains only the public portion of the certificate. A .pfx file contains the public certificate as well as the private key. If the policy used to create the certificate indicates that the key is non-exportable, you will be unable to download a .pfx file.

    This can be controlled when you create the certificate.

    User's image

    More info about PEM vs. PFX can be found here.


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.