From d772e84febfddb66bf877b436f335042326e9907 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 11 Apr 2016 16:26:41 +0200 Subject: [PATCH] Use chain.pem instead of fullchain.pem As some older OpenSSL (like the one in Debian 7) don't like the final cert being in the intermediate chain --- root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh b/root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh index bd0edf8..432c01b 100644 --- a/root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh +++ b/root/etc/letsencrypt.sh/hooks_deploy_cert.d/10smeserver.sh @@ -4,7 +4,7 @@ DOM=${1} KEY=${2} CRT=${3} -CHAIN=${4} +CHAIN=${5} if [ -z "$DOM" -o -z "$KEY" -o -z "$CRT" -o -z "$CHAIN" ]; then echo "Usage: $0 domain /path/to/key /path/to/cert /path/to/chain" >&2