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