From 59082f5d5fc20f0955cb96b10e7a4ba634e04312 Mon Sep 17 00:00:00 2001 From: Matthew Probasco <45771785+matthewprobasco@users.noreply.github.com> Date: Mon, 10 Jun 2024 08:28:17 -0700 Subject: [PATCH] Update renew-le.sh reverted since the setup script will add the full chain as expected. Closes #48 --- renew-le.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/renew-le.sh b/renew-le.sh index ea8215b..9783877 100755 --- a/renew-le.sh +++ b/renew-le.sh @@ -40,8 +40,7 @@ letsencrypt certonly --standalone --csr "$WORKDIR/httpd-csr.der" --email "$EMAIL # replace the cert cp /var/lib/ipa/certs/httpd.crt /var/lib/ipa/certs/httpd.crt.bkp -cat "$WORKDIR/0000_cert.pem" "$WORKDIR/0000_chain.pem" > "$WORKDIR/full_chain.pem" -mv -f "$WORKDIR/full_chain.pem" /var/lib/ipa/certs/httpd.crt +mv -f "$WORKDIR/0000_cert.pem" /var/lib/ipa/certs/httpd.crt restorecon -v /var/lib/ipa/certs/httpd.crt # start httpd with the new cert