From e055b90148a69ed30167d006e1356a35fe052526 Mon Sep 17 00:00:00 2001 From: Michael Goth Date: Sat, 10 Sep 2022 16:55:58 +0200 Subject: [PATCH] Update urls to use acme v02 apis --- koni.conf | 4 ++-- main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koni.conf b/koni.conf index 43bd900..c453d84 100644 --- a/koni.conf +++ b/koni.conf @@ -13,8 +13,8 @@ [letsencrypt] # URL of Let's Encrypt service to use. By default, koni uses the staging URL. -#url = "https://acme-v01.api.letsencrypt.org/directory" -#url = "https://acme-staging.api.letsencrypt.org/directory" +#url = "https://acme-v02.api.letsencrypt.org/directory" +#url = "https://acme-staging-v02.api.letsencrypt.org/directory" # Email to use in Let's Encrypt requests email = "koni@example.com" diff --git a/main.go b/main.go index e5bfe74..92183c5 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ const ( defaultDebug = false defaultListenHTTP = "127.0.0.1:4080" defaultListenHTTPS = "127.0.0.1:4443" - defaultURL = "https://acme-staging.api.letsencrypt.org/directory" + defaultURL = "https://acme-staging-v02.api.letsencrypt.org/directory" defaultCertsDir = "." )