⇤ ← Revision 1 as of 2020-12-08 17:14:47
Size: 565
Comment:
|
Size: 565
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 19: | Line 19: |
dir="/etc/letsencrypt/${domain}/live" | dir="/etc/letsencrypt/live/${domain}" |
HAProxy SSL
Contents
Generation
haproxy(1) uses PEM-formatted certificates for encryption. This is simply the certificate and private key concatenated.
The following script can be used by either a cron job or set as a certbot(1) post-installation hook.
domain="example.com" dir="/etc/letsencrypt/live/${domain}" cat "${dir}/fullchain.pem" "${dir}/privkey.pem" > "${dir}/${domain}.pem"