mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-18 23:33:48 +01:00
also call clean_challenge hook for http-01 challenges (fixes #536)
This commit is contained in:
@@ -817,7 +817,7 @@ sign_csr() {
|
||||
# Delete challenge file
|
||||
[[ "${CHALLENGETYPE}" = "http-01" ]] && rm -f "${WELLKNOWN}/${challenge_tokens[${idx}]}"
|
||||
# Clean challenge token using non-chained hook
|
||||
[[ "${CHALLENGETYPE}" = "dns-01" ]] && [[ -n "${HOOK}" ]] && [[ "${HOOK_CHAIN}" != "yes" ]] && "${HOOK}" "clean_challenge" ${deploy_args[${idx}]}
|
||||
[[ -n "${HOOK}" ]] && [[ "${HOOK_CHAIN}" != "yes" ]] && "${HOOK}" "clean_challenge" ${deploy_args[${idx}]}
|
||||
idx=$((idx+1))
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user