Letsencrypt: auto generate bundle certificates for Haproxy

I was surprised to not get instant answer googling “letsencrypt automatically generate bundle certificates for haproxy”.

So here it is, to save 5 minutes of your time.

Generates bundle(fullchain + privkey) certificates for everything in /etc/letserncrypt/live/*/fullchain_and_privkey.pem, does not update generated files if not necessary.

NOTE: renew hooks are not triggered when you run certbot certonly, so for the first time you should run it manually.



License: This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License Share: share on reddit share on hacker news share on facebook share on twitter share on linkedin share on slashdot

No comments

You today

Comments are closed