1
0
docker-letsencrypt-nginx-pr.../test/config.sh
Nicolas Duchon 87c27d22a6
feat: use EAB if available no matter the ACME CI (#981)
* ci: setup Pebble with docker-compose + .env file

* refactor: move acme.sh hooks further down the file

* feat: user EAB with other CAs than Zero SSL

* tests: ACME External Account Binding (EAB)

* ci: add local Pebble EAB testing
2022-12-06 12:28:48 +01:00

34 lines
588 B
Bash
Executable File

#!/bin/bash
set -e
globalTests+=(
docker_api
location_config
default_cert
certs_single
certs_san
certs_single_domain
certs_standalone
force_renew
acme_accounts
private_keys
container_restart
permissions_default
permissions_custom
symlinks
acme_hooks
)
# The acme_eab test requires Pebble with a specific configuration
if [[ "$ACME_CA" == 'pebble' && "$PEBBLE_CONFIG" == 'pebble-config-eab.json' ]]; then
globalTests+=(
acme_eab
)
fi
# The ocsp_must_staple test does not work with Pebble
if [[ "$ACME_CA" == 'boulder' ]]; then
globalTests+=(
ocsp_must_staple
)
fi