Adding the invalid_challenge hook (#278)

This commit is contained in:
nkovacne authored and Lukas Schauer committed 2016-12-18 20:31:08 +01:00
1 parent 8456855e48
commit 318cf2011d
3 files changed
+17 -3

No files matched your search

+15 -1
View File
@@ -74,5 +74,19 @@ unchanged_cert() {
# The path of the file containing the intermediate certificate(s).
}
function invalid_challenge {
local DOMAIN="${1}" RESPONSE="${2}"
# This hook is called if the challenge response has failed, so domain
# owners can be aware and act accordingly.
#
# Parameters:
# - DOMAIN
# The primary domain name, i.e. the certificate common
# name (CN).
# - RESPONSE
# The response that the verification server returned
}
HANDLER="$1"; shift
"$HANDLER" "$@"
"$HANDLER" "$@"