From f11bb1db6e049c0ceea77ef325fd71ca5569ace4 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 5 Dec 2015 18:23:22 +0100 Subject: [PATCH] set CA setting per default letsencrypt.sh is mainly used with letsencrypt.org. --- config.sh.example | 4 +++- letsencrypt.sh | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config.sh.example b/config.sh.example index 9ed0e42..63d9ebc 100644 --- a/config.sh.example +++ b/config.sh.example @@ -1,2 +1,4 @@ -CA="https://acme-v01.api.letsencrypt.org" +# default values are commented + +#CA="https://acme-v01.api.letsencrypt.org" WELLKNOWN="/var/www/letsencrypt/.well-known/acme-challenge" diff --git a/letsencrypt.sh b/letsencrypt.sh index 90174c9..17f5ab3 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -4,6 +4,9 @@ set -e set -u set -o pipefail +# default config values +CA="https://acme-v01.api.letsencrypt.org" + . ./config.sh umask 077 # paranoid umask, we're creating private keys -- 2.47.3