Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
# Get the application gateway | |
$gw = Get-AzApplicationGateway -Name ApplicationGateway -ResourceGroupName "MyWAF" | |
# Get the existing HTTPS listener, because it had already exists | |
$httpslistener = Get-AzApplicationGatewayHttpListener -Name appGatewayHttpsListener -ApplicationGateway $gw | |
# Get the HTTP listener, because it had already exists | |
$listener = Get-AzApplicationGatewayHttpListener -Name appGatewayHttpListener -ApplicationGateway $gw | |
# Add a redirection configuration using a permanent redirect and targeting the existing listener |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.