From: Lukas Schauer Date: Sun, 6 Dec 2015 14:37:41 +0000 (+0100) Subject: default location for acme-challenges X-Git-Tag: v0.1.0~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3dbc5819fc5c2d8f54c8c763107cb341214909;p=thirdparty%2Fdehydrated.git default location for acme-challenges --- diff --git a/.acme-challenges/.keep b/.acme-challenges/.keep new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore index 6ffe292..eca741b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ domains.txt config.sh certs/* !certs/.keep +.acme-challenges/* +!.acme-challenges/.keep diff --git a/config.sh.example b/config.sh.example index ef8a7da..2ad949b 100644 --- a/config.sh.example +++ b/config.sh.example @@ -1,7 +1,7 @@ # default values are commented #CA="https://acme-v01.api.letsencrypt.org" -WELLKNOWN="/var/www/letsencrypt/.well-known/acme-challenge" +#WELLKNOWN=".acme-challenges" #KEYSIZE=4096 # program called before responding to the challenge, arguments: path/to/token @@ -10,4 +10,4 @@ WELLKNOWN="/var/www/letsencrypt/.well-known/acme-challenge" #HOOK_CHALLENGE= # try to renew certs that are within RENEW_DAYS days of there expire date -#RENEW_DAYS="14" \ No newline at end of file +#RENEW_DAYS="14" diff --git a/letsencrypt.sh b/letsencrypt.sh index ad2e7bb..615a731 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -10,6 +10,7 @@ LICENSE="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf" HOOK_CHALLENGE= RENEW_DAYS="14" KEYSIZE="4096" +WELLKNOWN=".acme-challenges" . ./config.sh