mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Respect domain-specific hooks when using dns-01 challenge type #613
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 @henk84 on GitHub (Oct 27, 2023).
e3ef43c816/dehydrated (L325-L326)This check ignores a domain specific configfile containing a domain specific hook.
(I’m not sure whether I need to say more or what to say more. If it’s unclear, let me know and I’ll try again/harder to explain better.)
This is important when handling multiple domains spread over multiple hosts on an admin system: a domain dependent hook-script is important for deploying the certs to the correct machines.
Yes, there are ways to work around it, but it would be nice if one wouldn’t have to work around them.
Spontaneous idea: it would be cool to have hooks for each action in each domain, e.g.:
@henk84 commented on GitHub (Oct 30, 2023):
I managed to build something similar to this.
It is based on the hook from https://ente.limmat.ch/ftp/pub/software/bash/letsencrypt/
I then added code like the following:
Example for a "common" hook:
Issue can be closed.