Skip to content

Instantly share code, notes, and snippets.

@fabriciosanchez
Created April 10, 2020 19:32
Show Gist options
  • Save fabriciosanchez/e4ec452eda67d67d1fb049f107349717 to your computer and use it in GitHub Desktop.
Save fabriciosanchez/e4ec452eda67d67d1fb049f107349717 to your computer and use it in GitHub Desktop.
Creating certificate configuration for AG.
# step 4 - configure certs for the App Gateway
$cert = New-AzApplicationGatewaySslCertificate `
-Name "apim-gw-cert" `
-CertificateFile $gatewayCertPfxPath `
-Password $certPwd
$certPortal = New-AzApplicationGatewaySslCertificate `
-Name "apim-portal-cert" `
-CertificateFile $portalCertPfxPath `
-Password $certPortalPwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment