Skip to content

Commit

Permalink
Update renew-le.sh
Browse files Browse the repository at this point in the history
reverted since the setup script will add the full chain as expected.

Closes freeipa#48
  • Loading branch information
matthewprobasco authored and f-trivino committed Sep 11, 2024
1 parent 36458e7 commit 59082f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions renew-le.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59082f5

Please sign in to comment.