From b8f1c6dc5bd47872a5cf842c9b5a2ff196dcfbf7 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Sat, 9 Nov 2024 18:18:26 +0100 Subject: [PATCH] Using correct certbot options --- renew_cert.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renew_cert.sh b/renew_cert.sh index d10adee..8d41d00 100755 --- a/renew_cert.sh +++ b/renew_cert.sh @@ -26,11 +26,11 @@ else certbot certonly \ --csr $base_dir/${fqdn}.csr \ --cert-path $base_dir/${fqdn}.crt \ - --chain-path $base_dir/${fqdn}-chained.crt \ + --chain-path $base_dir/${fqdn}-chain.crt \ + --fullchain-path $base_dir/${fqdn}-chained.crt \ --webroot \ -w /var/www/le-challenges/ \ --agree-tos \ --register-unsafely-without-email || die "Error while signing certificate" - mv 0000_chain.pem $base_dir/${fqdn}-chained.crt rc-service ${service} reload fi