From 3cd519e187a84bef8c1f1a68817457c0fbaeee8b Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Wed, 6 Jan 2021 21:05:23 +0600 Subject: [PATCH] v4.5.8.0 --- app/scripts/ansible/roles/renew_letsencrypt.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/ansible/roles/renew_letsencrypt.j2 b/app/scripts/ansible/roles/renew_letsencrypt.j2 index d58e0001..5c6d9f91 100644 --- a/app/scripts/ansible/roles/renew_letsencrypt.j2 +++ b/app/scripts/ansible/roles/renew_letsencrypt.j2 @@ -16,8 +16,8 @@ command+=" --non-interactive --agree-tos --email $email --http-01-port=8888" bash -c "$command" for i in $(ls -d */ |awk -F"/" '{print $1}'); do - bash -c "cat /etc/letsencrypt/live/$i/fullchain.pem /etc/letsencrypt/live/$i/private.pem > $path/$i.pem" + bash -c "cat /etc/letsencrypt/live/$i/fullchain.pem /etc/letsencrypt/live/$i/privkey.pem > $path/$i.pem" done # Reload HAProxy -sudo systemctl reload haproxy \ No newline at end of file +sudo systemctl reload haproxy