Introduction
Application Gateway v2 SKU supports integration with Key Vault for server certificates. There are advantages such as using Key Vault for SSL certificate setting of Application Gateway and reducing the risk when renewing the certificate.
More details we can find in official documentation
In this quick post, I will explain the procedure for registering an SSL certificate by linking Application Gateway and Key Vault using the Azure CLI.
Requirements
Before we start, we should have installed the components listed below
- Azure CLI
- Application Gateway v2
- SSL certificate
Let’s Start
Initial setting
- Login into Azure and set Subscription
az login
az account set -s "Visual Studio"
- Create a Key Vault