Commit 194464b0 authored by Lukas Schauer's avatar Lukas Schauer

Default WELLKNOWN location is now `/var/www/letsencrypt`

With this change private and public files are now separated by default.
parent 364bcccf
...@@ -6,4 +6,3 @@ hook.sh ...@@ -6,4 +6,3 @@ hook.sh
certs/* certs/*
archive/* archive/*
accounts/* accounts/*
.acme-challenges/*
...@@ -8,6 +8,7 @@ This file contains a log of major changes in letsencrypt.sh ...@@ -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 - Location of certs directory is now configurable via CERTDIR config variable
- signcsr command now also outputs chain certificate - signcsr command now also outputs chain certificate
- Location of account-key(s) changed - Location of account-key(s) changed
- Default WELLKNOWN location is now `/var/www/letsencrypt`
## Added ## Added
- Added option to add CSR-flag indicating OCSP stapling to be mandatory - Added option to add CSR-flag indicating OCSP stapling to be mandatory
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
# Directory for account keys and registration information # Directory for account keys and registration information
#ACCOUNTDIR="${BASEDIR}/accounts" #ACCOUNTDIR="${BASEDIR}/accounts"
# Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: $BASEDIR/.acme-challenges) # Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: /var/www/letsencrypt)
#WELLKNOWN="${BASEDIR}/.acme-challenges" #WELLKNOWN="/var/www/letsencrypt"
# Default keysize for private keys (default: 4096) # Default keysize for private keys (default: 4096)
#KEYSIZE="4096" #KEYSIZE="4096"
......
...@@ -181,7 +181,7 @@ load_config() { ...@@ -181,7 +181,7 @@ load_config() {
[[ -z "${CERTDIR}" ]] && CERTDIR="${BASEDIR}/certs" [[ -z "${CERTDIR}" ]] && CERTDIR="${BASEDIR}/certs"
[[ -z "${DOMAINS_TXT}" ]] && DOMAINS_TXT="${BASEDIR}/domains.txt" [[ -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" [[ -z "${LOCKFILE}" ]] && LOCKFILE="${BASEDIR}/lock"
[[ -n "${PARAM_HOOK:-}" ]] && HOOK="${PARAM_HOOK}" [[ -n "${PARAM_HOOK:-}" ]] && HOOK="${PARAM_HOOK}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment