|
|
|
@ -1,19 +1,38 @@ |
|
|
|
# Uncomment and modify any variables you need |
|
|
|
# see https://github.com/srvrco/getssl/wiki/Config-variables for details |
|
|
|
# see https://github.com/srvrco/getssl/wiki/Example-config-files for example configs |
|
|
|
# |
|
|
|
CA="https://pebble:14000/dir" |
|
|
|
# Test that the script works with dns |
|
|
|
|
|
|
|
VALIDATE_VIA_DNS=true |
|
|
|
DNS_ADD_COMMAND="/getssl/dns_scripts/dns_add_challtestsrv" |
|
|
|
DNS_DEL_COMMAND="/getssl/dns_scripts/dns_del_challtestsrv" |
|
|
|
AUTH_DNS_SERVER=10.30.50.3 |
|
|
|
|
|
|
|
# Speed up the test by reducing the number or retries and the wait between retries. |
|
|
|
DNS_WAIT=2 |
|
|
|
DNS_WAIT_COUNT=11 |
|
|
|
DNS_EXTRA_WAIT=0 |
|
|
|
|
|
|
|
if [ -z "$STAGING" ]; then |
|
|
|
# Settings for challtestserv dns provider running in local docker |
|
|
|
CA="https://pebble:14000/dir" |
|
|
|
|
|
|
|
DNS_ADD_COMMAND="/getssl/dns_scripts/dns_add_challtestsrv" |
|
|
|
DNS_DEL_COMMAND="/getssl/dns_scripts/dns_del_challtestsrv" |
|
|
|
AUTH_DNS_SERVER=10.30.50.3 |
|
|
|
|
|
|
|
# Speed up the test by reducing the number or retries and the wait between retries. |
|
|
|
DNS_WAIT=2 |
|
|
|
DNS_WAIT_COUNT=11 |
|
|
|
DNS_EXTRA_WAIT=0 |
|
|
|
else |
|
|
|
# Settings for external dns provider and staging server |
|
|
|
CA="https://acme-staging-v02.api.letsencrypt.org/directory" |
|
|
|
|
|
|
|
DNS_ADD_COMMAND="/getssl/dns_scripts/dns_add_${dynamic_dns}" |
|
|
|
DNS_DEL_COMMAND="/getssl/dns_scripts/dns_del_${dynamic_dns}" |
|
|
|
PUBLIC_DNS_SERVER="8.8.8.8 resolver1.infoserve.de" |
|
|
|
if [[ "${dynamic_dns}" == "dynu" ]]; then |
|
|
|
AUTH_DNS_SERVER=ns1.dynu.com |
|
|
|
else |
|
|
|
AUTH_DNS_SERVER=ns1.duckdns.org |
|
|
|
fi |
|
|
|
CHECK_ALL_AUTH_DNS="true" |
|
|
|
CHECK_PUBLIC_DNS_SERVER="true" |
|
|
|
DNS_EXTRA_WAIT=120 |
|
|
|
|
|
|
|
DNS_WAIT_COUNT=20 |
|
|
|
DNS_WAIT=30 |
|
|
|
DNS_WAIT_RETRY_ADD="true" |
|
|
|
fi |
|
|
|
# Additional domains - this could be multiple domains / subdomains in a comma separated list |
|
|
|
SANS="" |
|
|
|
|
|
|
|
|