az network vnet-gateway root-cert

Manage root certificates for a virtual network gateway.

Commands

az network vnet-gateway root-cert create Upload a root certificate.
az network vnet-gateway root-cert delete Delete a root certificate.

az network vnet-gateway root-cert create

Upload a root certificate.

az network vnet-gateway root-cert create --gateway-name
--name
--public-cert-data
--resource-group

Required Parameters

--gateway-name
Virtual network gateway name.
--name -n
Root certificate name.
--public-cert-data
Base64 contents of the root certificate file or file path.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

az network vnet-gateway root-cert delete

Delete a root certificate.

az network vnet-gateway root-cert delete --gateway-name
--name
--resource-group

Required Parameters

--gateway-name
Virtual network gateway name.
--name -n
Root certificate name.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.