diff --git a/app/entrypoint.sh b/app/entrypoint.sh index 246cebe1..2b239eed 100755 --- a/app/entrypoint.sh +++ b/app/entrypoint.sh @@ -58,6 +58,12 @@ source /app/functions.sh [[ $DEBUG == true ]] && set -x if [[ "$*" == "/bin/bash /app/start.sh" ]]; then + acmev2_re='https://acme-.*v02\.api\.letsencrypt\.org/directory' + if [[ "${ACME_CA_URI:-}" =~ $acmev2_re ]]; then + echo "Error: ACME v2 API is not yet supported by simp_le." + echo "See https://github.com/zenhack/simp_le/issues/101" + exit 1 + fi check_docker_socket if [[ -z "$(get_self_cid)" ]]; then echo "Error: can't get my container ID !" >&2