mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 07:10:34 +01:00
Hook_chain being ignored #340
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 @ryancbutler on GitHub (Apr 27, 2018).
Recently Dehydrated seems to be validating challenges only after all my deploy challenges have been run causing issues on approval. Seems like HOOK_CHAIN value is being seen as YES.
I have hook_chain set to no in my config
domains are listed as
mysub.domain.com mysub1.domain.com mysub2.domain.com
@lukas2511 commented on GitHub (Apr 27, 2018):
This works as intended. Because of problems with wildcard validations there isn't really any choice but to deploy all tokens before doing anything else. Since I wanted to avoid having multiple different behaviours this now is the way it works. Hook-Chaining is different in that it deploys all tokens in one hook-call, without chaining it's still one after another, just the validation is delayed.
@ryancbutler commented on GitHub (Apr 27, 2018):
Oh bummer. I had a process that would use the token to edit the same netscaler policy with the challenge token for every domain. Any other options you can think of to mimic this behavior?
@lukas2511 commented on GitHub (Apr 27, 2018):
I don't really have any experience with Netscaler, but from a quick glance over your code you could just add multiple rules, or maybe there is a way to set up a reverse proxy or something? Otherwise you could maybe validate tokens over DNS-01 instead.
@ryancbutler commented on GitHub (Apr 28, 2018):
It's possible to create multiple rules but will take some re-work. Will try to figure something out. Thanks for the help.