Set letsencrypt as default in the account data.
This commit is contained in:
parent
fb9e35a804
commit
2f87991353
|
@ -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' %}
|
||||
|
|
|
@ -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 $?
|
||||
|
|
Loading…
Reference in New Issue