|victor héry 4ac148cb58 need to restart dovecot in addition to postfix to manage imap/pop :-)||1 year ago|
|LICENSE||3 years ago|
|README.md||1 year ago|
|create-cert-postfix||1 year ago|
|create-certificat||1 year ago|
|renew-certificates||1 year ago|
Some scripts to create and renew all your certificates, and concatenate fullchain and privkey so haproxy is able to use it
You need to install certbot according to your distribution :
For debian :
apt-get install certbot
Create a certificate with let’s encrypt, then concatenate fullchain.pem and privkey.pem, then store the certificate in haproxy given path.
./create-certificate domain.tld >> /var/log/create-certificate.log
Renew all certificate known by let’s encrypt !
./renew-certificate >> /var/log/renew-certificates.log
Create SAN (multi-domains) certificates for a postfix configuration
Edit postfix_pem_path and mail_server and deploy ssh key accordingly.
I should write a blog article once I have time, meanwhile do not hesitate to ask questions on the repo Usage:
./create-cert-postfix domain1.tld domain2.tld domain3.tld