mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
How to use wildcard alt names with --domain flag? #352
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nh2 on GitHub (May 27, 2018).
Hi,
I've been using dehydrated's
--domainCLI flag instead ofdomains.txt, and now want to also use wildcard certificates.What is the
--domainCLI flag equivalent of doingas explained on
10d4b98e7f/docs/domains_txt.md (wildcards)?I've tried the following:
When I give
--domain '*.service.example.com', I getwhich makes sense.
When I give
--domain 'service.example.com *.service.example.com', I getThanks!
@nh2 commented on GitHub (May 27, 2018):
Uh now I'm confused. Looks like I get
Error creating new authz :: Wildcard names not supportedeven when usingdomains.txtinstead of--domainflags, with thisdomains.txt:and invocation
dehydrated --config config --cron --challenge dns-01 --hook route53.py. What am I missing?@nh2 commented on GitHub (May 27, 2018):
Ah, never mind, I had a stray
in my config when it should have been the following to use ACMEv2 for wildcard cert support:
So
--domain 'service.example.com *.service.example.com'seems to work now.@TyrfingMjolnir commented on GitHub (Jul 6, 2020):
Should I be able to put in /opt/local/etc/dehydrated/domains.txt
To have a cert for all subdomains? Or does this approach only work for sub-sub-domains?