Technology / Software / 

21 Jul 2022

Dovecot SSL Configuration

Warning: These notes are from 2015, and my SSL/TLS setup on my home server has changed substantially since then, with the introduction of CACert.org and on-demand short-lived certificate generation. Here’s a 2019 blog post about that configuration.

Just some notes and memory aids for the next time I need to reconfigure Dovecot…

Paths to SSL keyfiles

ssl_cert = </etc/pki/dovecot/certs/dovecot.pem  -> /etc/ssl/my-server.crt
ssl_key = </etc/pki/dovecot/private/dovecot.pem  -> /etc/ssl/private/my-server.key

Global SSL Config

Most system-wide SSL configuration lives in /etc/ssl/

Systemwide Cert Authority (CA) Cert

/etc/ssl/ca/crt

Getting info for a PEM certificate

openssl x509 -noout -in dovecot.pem  -text