Commit 444b111a authored by Bjarke Bruun's avatar Bjarke Bruun
Browse files

Fixed acmetest for domain acmetestXyzRandomName.github-test.<domain> that was...

Fixed acmetest for domain acmetestXyzRandomName.github-test.<domain> that was explicitly disallowed as it is not _acme-challenge
parent a364ab4e
...@@ -204,7 +204,8 @@ deleteRecord() { ...@@ -204,7 +204,8 @@ deleteRecord() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
if [ "$(echo "$fulldomain" | grep "_acme-challenge")" = "" ]; then # Fix for acmetest to limit acme.sh to only work on _acme-challenge and acmeTestXYzRandomName in GitHub actions
if [ "$(echo "$fulldomain" | grep "_acme-challenge\|acmetestXyzRandomName.github-test")" = "" ]; then
_err "The script tried to delete the record $fulldomain which is not the above created ACME challenge" _err "The script tried to delete the record $fulldomain which is not the above created ACME challenge"
return 1 return 1
fi fi
......
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