Lets encrypt certbot delete
Show cert namescertbot certificates
Delete standalone certificate with:certbot delete --cert-name CERT_NAME
Show cert namescertbot certificates
Delete standalone certificate with:certbot delete --cert-name CERT_NAME
openssl x509 -text -noout -in
Check certificate at Dovecotopenssl s_client -connect <>:993 -showcerts
Quick hack on how to set certificates right on iRedmail
Run in order to check whether automatic certification renew process will succeed.
certbot-auto renew --dry-run
certbot certonly --dry-run --webroot -w /var/www/html -d domain.name
certbot --nginx certonly --dry-run
Show installed cerificates and their domain namescertbot certificates
Issue a certificate bud do not install itcertbot certonly
Obtain and install to nginxcertbot --nginx -d example.com -d www.example.com
How to create Lets encrypt certificate for Debian + apache + dovecot + postfix
We can download the certbot-auto Let’s Encrypt client to the /usr/local/sbin directory by typing:
Lets Encrypt
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 2048
chmod 600 smtpd.key
openssl req -new -key smtpd.key -out smtpd.csr
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
openssl rsa -in smtpd.key -out smtpd.key.unencrypted