Skip to content

Commit

Permalink
Update renew-le.sh
Browse files Browse the repository at this point in the history
Corrected Cert Order and removed the Root CA from the chain.
  • Loading branch information
matthewprobasco authored and f-trivino committed Sep 11, 2024
1 parent cb564be commit 36458e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renew-le.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +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/0001_chain.pem" > "$WORKDIR/full_chain.pem"
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
restorecon -v /var/lib/ipa/certs/httpd.crt

Expand Down

0 comments on commit 36458e7

Please sign in to comment.