ACMEAzure.ps1 - An ACMESharp client implementation for Azure WebApps.
Client implementation of the ACMESharp Library that automates and simplifies the tasks of requesting,validating and applying a Let's Encryp Cert to an Azure WebApp. Providing two types of challenge methods DNS and HTTP.
-
Supports http and dns challenge validations.
-
Supports Azure DNS verification
-
Initiates, requests and completes Let's Encrypt Cert Challenge for Azure WebApp.
-
Upload and binds Let's Encrypt SSL Cert on Azure WebApp.
-
Has support for password protected certificate. (Prompted during script run)
\ACMEAzure.ps1 -url sample.com -webappname samplewebapp -identifierRef "sampleref1" -aliasCert "samplealiascert" -email sample@outlook.com -ChallengeType "http-01" -pathToPfx "C:\certlocation" -pfxName "sampleCert"
.PARAMETER url
Defines the URL of the website for which SSL will be issued to.
Mandatory parameter
No default value.
.PARAMETER webAppName
Defines the name of the Azure WebApp Name that is currently hosting your site.
Mandatory Parameter
No default value.
.PARAMETER RGName
Defines the name of the Resource Group if using ARM
.PARAMETER identifierRef
A unique idenifier that is referenced in the attempt to create a certificate. This will be submitted with your LE Request. One IdenRef is valid per Cert Request
Mandatory parameter
.PARAMETER aliasCert
Defines the alias for the cert that will be used submitted to LE and that will be used by your website.
Mandatory parameter
No default value.
.PARAMETER email
Defines the email used to register the new Let's Encrypt SSL
Mandatory parameter
No default Value.
.PARAMETER pathToPfx
Defines the LE Challenge Type Method to use either http or dns verification.
Mandatory parameter
Defaults: http-01 or dns-01
.PARAMETER pathToPfx
Defines the path location to save the Pfx file to.
Mandatory parameter
No default value.
.PARAMETER pfxName
Defines the name of the pfx cert, if none is set, then Alias Cert + Current Date will be used.
No default value.
.PARAMETER subID
Defines the Azure subscription ID, if none is set, then a menu will be displayed asking to select a sub.
No default value.
- Add logging
Copyright Henry Robalino
Licensed under GPLv3