Some scripts to create and renew all your certificates, and concatenate fullchain and privkey so haproxy is able to use it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
859 B

7 years ago
  1. # letsencrypt-haproxy
  2. Some scripts to create and renew all your certificates, and concatenate fullchain and privkey so haproxy is able to use it
  3. **For this to work, you should have configured haproxy to accept let's encrypt connection**
  4. More information [here](http://blog.victor-hery.com/index.php?article23/use-haproxy-with-let-s-encrypt)
  5. ([French version](http://blog.victor-hery.com/index.php?article22/utiliser-let-s-encrypt-avec-haproxy)
  6. ## How to create certificate
  7. Create a certificate with let's encrypt, then concatenate fullchain.pem and privkey.pem, then store the certificate in haproxy given path.
  8. Usage :
  9. ```
  10. ./create-certificate domain.tld >> /var/log/create-certificate.log
  11. ```
  12. ## How to renew certificates
  13. **Renew all certificate known by let's encrypt !**
  14. Usage :
  15. ```
  16. ./renew-certificate >> /var/log/renew-certificates.log
  17. ```