3 Commits

Author SHA1 Message Date
Lukas Schauer
70d261a729 release v0.6.1 2018-03-13 20:57:52 +01:00
Lukas Schauer
947dbb9e29 use new acme-v02 endpoint by default 2018-03-13 20:48:42 +01:00
Lukas Schauer
8a414e55bc prepare for next version 2018-03-11 20:22:38 +01:00
2 changed files with 10 additions and 2 deletions

View File

@@ -1,6 +1,10 @@
# Change Log
This file contains a log of major changes in dehydrated
## [0.6.1] - 2018-03-13
## Changed
- Use new ACME v2 endpoint by default
## [0.6.0] - 2018-03-11
## Changed
- Challenge validation loop has been modified to loop over authorization identifiers instead of altnames (ACMEv2 + wildcard support)

View File

@@ -13,7 +13,7 @@ set -o pipefail
umask 077 # paranoid umask, we're creating private keys
VERSION="0.6.0"
VERSION="0.6.1"
# Find directory in which this script is stored by traversing all symbolic links
SOURCE="${0}"
@@ -118,7 +118,7 @@ load_config() {
fi
# Default values
CA="https://acme-v01.api.letsencrypt.org/directory"
CA="https://acme-v02.api.letsencrypt.org/directory"
OLDCA=
CERTDIR=
ACCOUNTDIR=
@@ -218,6 +218,10 @@ load_config() {
# Check BASEDIR and set default variables
[[ -d "${BASEDIR}" ]] || _exiterr "BASEDIR does not exist: ${BASEDIR}"
if [[ -z "${OLDCA}" ]] && [[ "${CA}" = "https://acme-v02.api.letsencrypt.org/directory" ]]; then
OLDCA="https://acme-v01.api.letsencrypt.org/directory"
fi
# Create new account directory or symlink to account directory from old CA
CAHASH="$(echo "${CA}" | urlbase64)"
[[ -z "${ACCOUNTDIR}" ]] && ACCOUNTDIR="${BASEDIR}/accounts"