|
|
# Special config to test that the retry dns_add_command logic works
|
|
|
#
|
|
|
CA="https://acme-staging-v02.api.letsencrypt.org/directory"
|
|
|
|
|
|
# Generic staging config
|
|
|
VALIDATE_VIA_DNS=true
|
|
|
DNS_DEL_COMMAND="/getssl/dns_scripts/dns_del_duckdns"
|
|
|
PUBLIC_DNS_SERVER=ns2.duckdns.org
|
|
|
CHECK_ALL_AUTH_DNS=true
|
|
|
|
|
|
# Test that the retry works (dns_add_command will always fail)
|
|
|
DNS_WAIT_RETRY_ADD="true"
|
|
|
DNS_ADD_COMMAND="/getssl/test/dns_fail_add_duckdns"
|
|
|
|
|
|
# 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
|
|
|
|
|
|
# Standard config
|
|
|
ACCOUNT_KEY_TYPE="rsa"
|
|
|
PRIVATE_KEY_ALG="rsa"
|
|
|
SANS=""
|
|
|
ACL=('/var/www/html/.well-known/acme-challenge')
|
|
|
USE_SINGLE_ACL="false"
|
|
|
DOMAIN_CERT_LOCATION="/etc/nginx/pki/server.crt"
|
|
|
DOMAIN_KEY_LOCATION="/etc/nginx/pki/private/server.key"
|
|
|
CA_CERT_LOCATION="/etc/nginx/pki/chain.crt"
|
|
|
DOMAIN_CHAIN_LOCATION="" # this is the domain cert and CA cert
|
|
|
DOMAIN_PEM_LOCATION="" # this is the domain_key, domain cert and CA cert
|
|
|
RELOAD_CMD="cp /getssl/test/test-config/nginx-ubuntu-ssl ${NGINX_CONFIG} && /getssl/test/restart-nginx"
|
|
|
SERVER_TYPE="https"
|
|
|
CHECK_REMOTE="true"
|