From 7322e57070222bdf67b7951f862eb0dc66df7f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=A2=E9=B9=8F?= Date: Fri, 11 Oct 2019 10:30:30 -0400 Subject: [PATCH] Update to acme v2 --- src/scripts/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/util.sh b/src/scripts/util.sh index 2c47c7d..67c4e42 100644 --- a/src/scripts/util.sh +++ b/src/scripts/util.sh @@ -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