mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Validate 1 certificate's domains in parallel #270
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 @rudiedirkx on GitHub (Jan 7, 2018).
DNS validation is very slow (30s - 5m per domain). A certificate can have many domains. Adding and validation records serially is very slow, where most of the time spent is waiting for DNS to update. Is it possible to start all validations at the same time, and then wait once, and then clean up all at once? Does Let's Encrypt even support that? Could Dehydrated?
Just to be sure: I am talking about multiple domains in 1 certificate, not running multiple dehydrateds in parallel.
HTTP challenges are super fast, so it doesn't matter there, but v2 wildcards only accept DNS challenges.
@rudiedirkx commented on GitHub (Jan 7, 2018):
Hooks for 1 cert with 2 domains:
2 and 6 have to take a long time, waiting for DNS, so 3 and 6 definitely find the records.
Between 1 and 2 I see
so it seems like Dehydrated knows all token values at once. A new hook (?) with all challenges at once would be awesome. I haven't looked at the code, my (ba)sh sucks.
@txr13 commented on GitHub (Jan 7, 2018):
You want to use
HOOK_CHAIN=yes.See https://github.com/lukas2511/dehydrated/blob/master/docs/hook_chain.md.
@rudiedirkx commented on GitHub (Jan 8, 2018):
Waaat? That exists too? With every single thing I learn about this repo, I love it more! I was all ready to get my bash on, and now I don't have to.