mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-25 01:38:28 +02: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
|
## Added
|
||||||
- Support for external account bindings
|
- Support for external account bindings
|
||||||
- Special support for ZeroSSL
|
- Special support for ZeroSSL
|
||||||
|
- Support presets for some CAs instead of requiring URLs
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
- No more silent failures on broken hook-scripts
|
- No more silent failures on broken hook-scripts
|
||||||
|
|||||||
@@ -320,6 +320,9 @@ load_config() {
|
|||||||
# Preset
|
# Preset
|
||||||
CA_ZEROSSL="https://acme.zerossl.com/v2/DV90"
|
CA_ZEROSSL="https://acme.zerossl.com/v2/DV90"
|
||||||
CA_LETSENCRYPT="https://acme-v02.api.letsencrypt.org/directory"
|
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
|
# Default values
|
||||||
CA="letsencrypt"
|
CA="letsencrypt"
|
||||||
@@ -432,8 +435,14 @@ load_config() {
|
|||||||
# Preset CAs
|
# Preset CAs
|
||||||
if [ "${CA}" = "letsencrypt" ]; then
|
if [ "${CA}" = "letsencrypt" ]; then
|
||||||
CA="${CA_LETSENCRYPT}"
|
CA="${CA_LETSENCRYPT}"
|
||||||
|
elif [ "${CA}" = "letsencrypt-test" ]; then
|
||||||
|
CA="${CA_LETSENCRYPT_TEST}"
|
||||||
elif [ "${CA}" = "zerossl" ]; then
|
elif [ "${CA}" = "zerossl" ]; then
|
||||||
CA="${CA_ZEROSSL}"
|
CA="${CA_ZEROSSL}"
|
||||||
|
elif [ "${CA}" = "buypass" ]; then
|
||||||
|
CA="${CA_BUYPASS}"
|
||||||
|
elif [ "${CA}" = "buypass-test" ]; then
|
||||||
|
CA="${CA_BUYPASS_TEST}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${OLDCA}" ]] && [[ "${CA}" = "https://acme-v02.api.letsencrypt.org/directory" ]]; then
|
if [[ -z "${OLDCA}" ]] && [[ "${CA}" = "https://acme-v02.api.letsencrypt.org/directory" ]]; then
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#IP_VERSION=
|
#IP_VERSION=
|
||||||
|
|
||||||
# URL to certificate authority or internal preset
|
# URL to certificate authority or internal preset
|
||||||
# Presets: letsencrypt, zerossl
|
# Presets: letsencrypt, letsencrypt-test, zerossl, buypass, buypass-test
|
||||||
# default: letsencrypt
|
# default: letsencrypt
|
||||||
#CA="letsencrypt"
|
#CA="letsencrypt"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user