Set letsencrypt as default in the account data.

This commit is contained in:
Andrea Dell'Amico 2022-05-25 10:50:19 +02:00
parent fb9e35a804
commit 2f87991353
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,9 @@ AUTO_UPGRADE="1"
CERT_HOME='{{ letsencrypt_acme_sh_base_data_dir }}/certs'
ACCOUNT_EMAIL='{{ letsencrypt_acme_sh_email }}'
{% if letsencrypt_acme_sh_default_ca == "letsencrypt" %}
DEFAULT_ACME_SERVER='https://acme-v02.api.letsencrypt.org/directory'
{% endif %}
{% if letsencrypt_acme_sh_use_dns_provider %}
{% if letsencrypt_acme_sh_dns_provider_type == 'dns_pdns' %}

View File

@ -15,6 +15,6 @@ else
fi
$ACME_SH_BIN --upgrade
$ACME_SH_BIN --cron --home "$ACME_SH_BINDIR" --config-home "$ACME_SH_CONFIG_HOME" > "$ACME_SH_CRON_LOG_FILE" 2>&1
$ACME_SH_BIN --cron --home "$ACME_SH_BINDIR" --config-home "$ACME_SH_CONFIG_HOME --server "$ACME_SH_DEFAULT_CA" > "$ACME_SH_CRON_LOG_FILE" 2>&1
exit $?