Skip to content

Instantly share code, notes, and snippets.

@philskents
Created March 19, 2017 00:49
Show Gist options
  • Save philskents/2ad54e1dbe1e852df119683eca3155ba to your computer and use it in GitHub Desktop.
Save philskents/2ad54e1dbe1e852df119683eca3155ba to your computer and use it in GitHub Desktop.
Update-AzureSSLCertificate
$AppGW = Get-AzureRmApplicationGateway -Name “MyAppGw” -ResourceGroupName “MyResourceGroup”
$Cert = Set-AzureRmApplicationGatewaySslCertificate -ApplicationGateway $AppGW -Name “CertName” -CertificateFile “C:\Path\To\Cert.pfx" -Password “Password”
Set-AzureRmApplicationGateway -ApplicationGateway $AppGW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment