This is a quick automation module I threw together to create a SSL/TLS Certificate with Let's Encrypt Service and apply to an Azure Application Gateway.
For more information on this Powershell module, read the blog post here Automatic Deployment of Let's Encrypt SSL/TLS Certificates on Azure App Gateway
PS> Install-Module AzureRm -AllowClobber
PS> Install-Module ACMESharp -AllowClobber
NAME
Deploy-LeSslCertToAzure
SYNOPSIS
Creates a SSL/TLS Certificate with Let's Encrypt Service
SYNTAX
Deploy-LeSslCertToAzure [-appGatewayRgName] <Object> [-appGatewayName] <Object> [-appGatewayBackendHttpSettingsName] <Object> [-domainToCert] <Object> [-certPassword] <Object>
[-azureDnsZone] <Object> [-azureDnsZoneResourceGroup] <Object> [-dnsAlias] <Object> [-registrationEmail] <Object> [<CommonParameters>]
DESCRIPTION
To maintain consistency with New-Object this cmdlet requires the -ComObject
parameter to be provided and the TypeName parameter is not supported.
RELATED LINKS
REMARKS
To see the examples, type: "get-help Deploy-LeSslCertToAzure -examples".
For more information, type: "get-help Deploy-LeSslCertToAzure -detailed".
For technical information, type: "get-help Deploy-LeSslCertToAzure -full".