Adding the invalid_challenge hook (#278)

This commit is contained in:
nkovacne
2016-12-18 20:31:08 +01:00
committed by Lukas Schauer
parent 8456855e48
commit 318cf2011d
3 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -552,7 +552,7 @@ sign_csr() {
if [[ "${reqstatus}" = "valid" ]]; then
echo " + Challenge is valid!"
else
break
[[ -n "${HOOK}" ]] && [[ "${HOOK_CHAIN}" != "yes" ]] && "${HOOK}" "invalid_challenge" "${altname}" "${result}"
fi
done