Install certificate on remote server from Azure Key vault using PowerShell

Narender Uppala 21 Reputation points

Hi there,

I have a certificate(.pfx) that has been stored in the Azure Key vault.

It would be great if anyone could help me to install a certificate using PowerShell from the Azure Key vault to a remote Windows server(2019).

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

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,501 Reputation points Microsoft Employee

    @Narender Uppala
    Thank you for your post!

    When it comes to installing your certificate that's stored within the Azure Key Vault to a remote Windows Server outside of Azure, you should be able to do this by following this 3rd party doc - Installing a certificate from Azure KeyVault into a machine external to Azure.

    The documentation goes over installing the certificate by creating an Azure AD App, granting that App's Service Principal Key Vault access, using Azure PowerShell commands to Get/List Secrets, deserializing the JSON payload and installing the PFX into the local machine.

    I hope this helps!

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.