Some tools like HAProxy need a file that contains the full chain of certificate (the certificate and the intermediates ones) and the private key in order to configure the SSL parameters.
certbot does not do this.
We must so add a
hook that will do it for every update or creation:
#!/bin/bash cat "$RENEWED_LINEAGE/fullchain.pem" "$RENEWED_LINEAGE/privkey.pem" > "$RENEWED_LINEAGE/fullchainprivkey.pem"
The script must be placed in
To use it, the option
certbot must be used.