Manually copy Let’s Encrypt Certificates to Dovecot and Postfix

Lets EncryptVirtualMinWebmin

To manually copy your certificates to dovecot and postfix so that your mail clients do not display a warning about bad certificates follow these steps.

You will want to copy the latest certificate which will be located in the folder name starting with your primary domain followed by largest the iteration number.


Copy your private keys

cp /etc/letsencrypt/archive/ /etc/dovecot/private/dovecot.pem
cp /etc/letsencrypt/archive/ /etc/postfix/postfix.key.pem

Copy your certificates

cp /etc/letsencrypt/archive/ /etc/dovecot/dovecot.pem
cp /etc/letsencrypt/archive/ /etc/postfix/postfix.cert.pem

Copy your fullchain

cp /etc/letsencrypt/archive/ /etc/dovecot/
cp /etc/letsencrypt/archive/ /etc/postfix/


Restart the Services

service dovecot restart

service postfix restart