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

delete challenge response after verification

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