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

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" "$@"