Size: 565
Comment:
|
Size: 0
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= HAProxy SSL = <<TableOfContents>> ---- == 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)` [[Certbot#Configuration|post-installation hook]]. {{{ #!/bin/sh domain="example.com" dir="/etc/letsencrypt/${domain}/live" cat "${dir}/fullchain.pem" "${dir}/privkey.pem" > "${dir}/${domain}.pem" }}} ---- == Configuration == ---- CategoryRicottone |