From 986ecb8f8bf3e7a02f2a81ceadcb7c2767f235ae Mon Sep 17 00:00:00 2001 From: Matthew Probasco <45771785+matthewprobasco@users.noreply.github.com> Date: Mon, 10 Jun 2024 08:34:32 -0700 Subject: [PATCH] Update renew-le.sh reverted since the setup script will add the full chain as expected. Closes #48 Signed-off-by: Matthew Probasco <45771785+matthewprobasco@users.noreply.github.com> --- 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