delete challenge response after verification

This commit is contained in:
Lukas Schauer
2015-12-07 12:10:51 +01:00
parent 98a6c549ff
commit 00837b86ae

View File

@@ -174,6 +174,8 @@ sign_domain() {
status="$(_request get "${challenge_uri}" | grep -Eo '"status":\s*"[^"]*"' | cut -d'"' -f4)"
done
rm -f "${WELLKNOWN}/${challenge_token}"
if [[ "${status}" = "valid" ]]; then
echo " + Challenge is valid!"
else