Add DNS-01 challenge support for ACME certificates and related configurations

This commit is contained in:
Carlos
2025-11-13 07:19:38 +00:00
parent 674b41ce08
commit a52e977b89
7 changed files with 205 additions and 2 deletions
+5
View File
@@ -80,6 +80,11 @@ check_domain(){
return 1
fi
fi
if [[ ${ACME_DNS_CHALLENGE} == "y" ]]; then
log_f "ACME_DNS_CHALLENGE=y - skipping IP and HTTP validation for ${DOMAIN}"
return 0
fi
# Check if CNAME without v6 enabled target
if [[ ! -z ${AAAA_DOMAIN} ]] && [[ -z $(echo ${AAAA_DOMAIN} | grep "^\([0-9a-fA-F]\{0,4\}:\)\{1,7\}[0-9a-fA-F]\{0,4\}$") ]]; then
AAAA_DOMAIN=