Skip to content

Commit

Permalink
Merge pull request #210 from matyasselmeci/pr/letsencrypt-chain
Browse files Browse the repository at this point in the history
Update Let's Encrypt docs with info about Pelican/OSDF
  • Loading branch information
matyasselmeci authored Nov 9, 2024
2 parents ad4f4b8 + 5255550 commit a678471
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/security/host-certs/lets-encrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,22 @@ Installation and Obtaining the Initial Certificate

1. Set up hostcert/hostkey links:

If using host certificates for Pelican/OSDF:
:::console
root@host # ln -sf /etc/letsencrypt/live/*/fullchain.pem /etc/pki/tls/certs/pelican.crt
root@host # ln -sf /etc/letsencrypt/live/*/privkey.pem /etc/pki/tls/private/pelican.key
root@host # chmod 0600 /etc/letsencrypt/archive/*/privkey*.pem

If using host certificates for other software:
:::console
root@host # ln -sf /etc/letsencrypt/live/*/cert.pem /etc/grid-security/hostcert.pem
root@host # ln -sf /etc/letsencrypt/live/*/privkey.pem /etc/grid-security/hostkey.pem
root@host # chmod 0600 /etc/letsencrypt/archive/*/privkey*.pem


Note that Pelican requires the full certificate chain, not just the certificate,
so the pelican.crt symlink needs to point to fullchain.pem, not cert.pem.

1. Restart services running on port 80 if there were any.


Expand Down

0 comments on commit a678471

Please sign in to comment.