Update to acme v2

This commit is contained in:
巢鹏 2019-10-11 10:30:30 -04:00 committed by Yaw Anokwa
parent 4bdc75aa81
commit 7322e57070
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ auto_enable_configs() {
# EMAIL environment variable, to register the proper support email address.
get_certificate() {
echo "Getting certificate for domain $1 on behalf of user $2"
PRODUCTION_URL='https://acme-v01.api.letsencrypt.org/directory'
STAGING_URL='https://acme-staging.api.letsencrypt.org/directory'
PRODUCTION_URL='https://acme-v02.api.letsencrypt.org/directory'
STAGING_URL='https://acme-staging-v02.api.letsencrypt.org/directory'
if [ "${IS_STAGING}" = "1" ]; then
letsencrypt_url=$STAGING_URL