mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-21 16:49:01 +01:00
add more CAs, now that support for CA presets is implemented
- letsencrypt-test (LE staging CA) - buypass (verified to work with the new json parsing, see #653) - buypass-test analogously
This commit is contained in:
committed by
Lukas Schauer
parent
5f8cfa50ba
commit
60cb678e3b
@@ -5,6 +5,7 @@ This file contains a log of major changes in dehydrated
|
||||
## Added
|
||||
- Support for external account bindings
|
||||
- Special support for ZeroSSL
|
||||
- Support presets for some CAs instead of requiring URLs
|
||||
|
||||
## Fixed
|
||||
- No more silent failures on broken hook-scripts
|
||||
|
||||
@@ -320,6 +320,9 @@ load_config() {
|
||||
# Preset
|
||||
CA_ZEROSSL="https://acme.zerossl.com/v2/DV90"
|
||||
CA_LETSENCRYPT="https://acme-v02.api.letsencrypt.org/directory"
|
||||
CA_LETSENCRYPT_TEST="https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
CA_BUYPASS="https://api.buypass.com/acme/directory"
|
||||
CA_BUYPASS_TEST="https://api.test4.buypass.no/acme/directory"
|
||||
|
||||
# Default values
|
||||
CA="letsencrypt"
|
||||
@@ -432,8 +435,14 @@ load_config() {
|
||||
# Preset CAs
|
||||
if [ "${CA}" = "letsencrypt" ]; then
|
||||
CA="${CA_LETSENCRYPT}"
|
||||
elif [ "${CA}" = "letsencrypt-test" ]; then
|
||||
CA="${CA_LETSENCRYPT_TEST}"
|
||||
elif [ "${CA}" = "zerossl" ]; then
|
||||
CA="${CA_ZEROSSL}"
|
||||
elif [ "${CA}" = "buypass" ]; then
|
||||
CA="${CA_BUYPASS}"
|
||||
elif [ "${CA}" = "buypass-test" ]; then
|
||||
CA="${CA_BUYPASS_TEST}"
|
||||
fi
|
||||
|
||||
if [[ -z "${OLDCA}" ]] && [[ "${CA}" = "https://acme-v02.api.letsencrypt.org/directory" ]]; then
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#IP_VERSION=
|
||||
|
||||
# URL to certificate authority or internal preset
|
||||
# Presets: letsencrypt, zerossl
|
||||
# Presets: letsencrypt, letsencrypt-test, zerossl, buypass, buypass-test
|
||||
# default: letsencrypt
|
||||
#CA="letsencrypt"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user