From fbda1f542f2f357f7c7daf643cf7d499182354ac Mon Sep 17 00:00:00 2001 From: Ilya Apasov Date: Tue, 22 Dec 2020 16:27:31 +0200 Subject: [PATCH] fix incomplete SSL chain error fixes #2804 --- certbot/run-certbot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/certbot/run-certbot.sh b/certbot/run-certbot.sh index c66ba2c..3e9f3de 100644 --- a/certbot/run-certbot.sh +++ b/certbot/run-certbot.sh @@ -3,5 +3,7 @@ letsencrypt certonly --webroot -w /var/www/letsencrypt -d "$CN" --agree-tos --email "$EMAIL" --non-interactive --text cp /etc/letsencrypt/archive/"$CN"/cert1.pem /var/certs/"$CN"-cert1.pem +cp /etc/letsencrypt/archive/"$CN"/chain1.pem /var/certs/chain1.pem +cp /etc/letsencrypt/archive/"$CN"/fullchain1.pem /var/certs/fullchain1.pem cp /etc/letsencrypt/archive/"$CN"/privkey1.pem /var/certs/"$CN"-privkey1.pem