Default WELLKNOWN location is now /var/www/letsencrypt

With this change private and public files are now separated by default.
This commit is contained in:
Lukas Schauer
2016-07-20 17:04:25 +02:00
parent 364bcccf74
commit 194464b04b
4 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@@ -6,4 +6,3 @@ hook.sh
certs/*
archive/*
accounts/*
.acme-challenges/*

View File

@@ -8,6 +8,7 @@ This file contains a log of major changes in letsencrypt.sh
- Location of certs directory is now configurable via CERTDIR config variable
- signcsr command now also outputs chain certificate
- Location of account-key(s) changed
- Default WELLKNOWN location is now `/var/www/letsencrypt`
## Added
- Added option to add CSR-flag indicating OCSP stapling to be mandatory

View File

@@ -42,8 +42,8 @@
# Directory for account keys and registration information
#ACCOUNTDIR="${BASEDIR}/accounts"
# Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: $BASEDIR/.acme-challenges)
#WELLKNOWN="${BASEDIR}/.acme-challenges"
# Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: /var/www/letsencrypt)
#WELLKNOWN="/var/www/letsencrypt"
# Default keysize for private keys (default: 4096)
#KEYSIZE="4096"

View File

@@ -181,7 +181,7 @@ load_config() {
[[ -z "${CERTDIR}" ]] && CERTDIR="${BASEDIR}/certs"
[[ -z "${DOMAINS_TXT}" ]] && DOMAINS_TXT="${BASEDIR}/domains.txt"
[[ -z "${WELLKNOWN}" ]] && WELLKNOWN="${BASEDIR}/.acme-challenges"
[[ -z "${WELLKNOWN}" ]] && WELLKNOWN="/var/www/letsencrypt"
[[ -z "${LOCKFILE}" ]] && LOCKFILE="${BASEDIR}/lock"
[[ -n "${PARAM_HOOK:-}" ]] && HOOK="${PARAM_HOOK}"