Closed duffenterprises closed 3 years ago
This looks great. Good catch on the wildcard stuff, that was something another contributor added that I don't actually use at home so it wasn't well vetted. Going to merge this now and if I don't hear anyone grumble I'll cut a release announcing google support in a couple of days. Thanks!
@kchristensen I've added the documentation to support gcloud, and modifications to the shell script.
During my testing last week, I observered that the shell script did not support wildcard DNS entries. Let's Encrypt creates
*.whatever.anotherhostname.com
as_.whatever.anotherhostname.com.cert
(etc) which is why I introduced the regexI also observed that Let's Encrypt errored with domains like your original example:
because whatever.hostname.com is encompased within
*.whatever.hostname.com
, thus the example update to*.whatever.anotherhostname.com
.Hopefully this PR is useful to the UDM community.