From 03416fb75a3b8af8ee46688c90cb83ed4d578e39 Mon Sep 17 00:00:00 2001 From: Brielle Bruns Date: Sun, 16 Feb 2020 19:38:57 -0700 Subject: [PATCH] Update to v2 server --- gen-cert.sh | 2 +- gen-unifi-cert.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gen-cert.sh b/gen-cert.sh index 84c95f3..faef533 100755 --- a/gen-cert.sh +++ b/gen-cert.sh @@ -97,7 +97,7 @@ done ${LEBINARY} ${email} \ - --server https://acme-v01.api.letsencrypt.org/directory \ + --server https://acme-v02.api.letsencrypt.org/directory \ --agree-tos \ --renew-by-default \ ${AUTH} \ diff --git a/gen-unifi-cert.sh b/gen-unifi-cert.sh index 4541126..cdbddeb 100755 --- a/gen-unifi-cert.sh +++ b/gen-unifi-cert.sh @@ -105,7 +105,7 @@ fi if [[ ${onlyinsert} != "yes" ]]; then echo "Firing up standalone authenticator on TCP port 80 and requesting cert..." - ${LEBINARY} --server https://acme-v01.api.letsencrypt.org/directory \ + ${LEBINARY} --server https://acme-v02.api.letsencrypt.org/directory \ --agree-tos --standalone --preferred-challenges http ${LEOPTIONS} fi