Skip to content

Commit

Permalink
Merge pull request staticfloat#13 from chaopeng/master
Browse files Browse the repository at this point in the history
Update to acme v2
  • Loading branch information
staticfloat committed Nov 19, 2019
2 parents 6031035 + e9fb0cf commit 892cc2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 892cc2b

Please sign in to comment.