Merge pull request #13 from chaopeng/master

Update to acme v2
This commit is contained in:
Elliot Saba 2019-11-19 01:38:36 -08:00 committed by GitHub
commit 892cc2bc04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,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