-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
If you use this script for say ".com.au" based domains, the domain parsing in lines 204-220 of Get-NewLetsEncryptCertificate.ps1 and similarly in Register-LetsEncryptCertificateRequest.ps1 fails.
For example: hostname.example.com.au is broken into:
Hostname: hostname.example
FQDN: hostname.example.com.au
DnsZoneName: com.au
This prevents any certificates from being generated.
A basic patch is included, however Im certain this isnt the best approach to fix the issue, just a quick fix that works for me.