Running Acme.sh with debug option

This commit is contained in:
Samuel Huang
2022-11-01 10:44:46 +11:00
parent 3e67ef03b4
commit 342496d6fe

2
run.sh
View File

@@ -103,7 +103,7 @@ if [ -n "${CERTDOMAIN}" ]; then
while [ ! -f "/root/.acme.sh/${DOMAIN}/fullchain.cer" ] || [ ! -f "/root/.acme.sh/${DOMAIN}/${DOMAIN}.key" ]
do
echo "Requesting TLS cert for ${DOMAIN} ..."
/root/.acme.sh/acme.sh --issue --standalone -d ${DOMAIN}
/root/.acme.sh/acme.sh --issue --standalone -d ${DOMAIN} --debug
((TRY++))
if [ "${TRY}" -ge 3 ]; then
echo "Requesting TLS cert for ${DOMAIN} failed. Check log please."