Commit 00837b86 authored by Lukas Schauer's avatar Lukas Schauer

delete challenge response after verification

parent 98a6c549
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment