< Previous | Contents | Next >
3.3. Dovecot SSL Configuration
Dovecot is now automatically configured to use SSL. It uses the package ssl-cert which provides a self signed certificate. You can edit the file /etc/dovecot/conf.d/10-ssl.conf and amend following lines if you want to set up a custom certificate (See Section 5, “Certificates” [p. 198] for more details.):
ssl_cert = </etc/dovecot/private/dovecot.pem ssl_key = </etc/dovecot/private/dovecot.key
You can get the SSL certificate from a Certificate Issuing Authority or you can create self signed SSL certificate. Please refer to Section 5, “Certificates” [p. 198] for details about how to create self signed SSL certificate. Once you create the certificate, you will have a key file and a certificate file that you want to make known in the config shown above.