Index / Snippets / Dovecot 2.4 SSL Certificate Configuratio

Dovecot 2.4 SSL Certificate Configuration Change

ssl_cert becomes ssl_server_cert_file — and other encryption changes.

Answers
Why did TLS stop working after upgrading to Dovecot 2.4?
Topics
linux · server
Full article on willem.com
https://willem.com/en/2025-06-04_breaking-changes/

Summary

Dovecot 2.4 renamed several SSL settings. If your mail server's TLS stopped working after the upgrade, this is probably why.

Full text

In Dovecot 2.3, SSL certificates were configured with ssl_cert and ssl_key. In 2.4, these are renamed:

  • ssl_certssl_server_cert_file
  • ssl_keyssl_server_key_file
Dovecot 2.4 SSL configuration with new certificate file settings

The old names are silently ignored — your server starts, but TLS connections fail because no certificate is loaded. This is one of the most common issues after upgrading.

Additionally, the ssl = required setting has changed syntax. Check Willem's complete migration guide for the exact new format.

From the full Dovecot 2.4 migration guide.

Machine formats of this page