Securing dovecot with SSL/TLS on RHEL5
Request a new translation or translation update
A translation for your language preference does not exist. Click below to request a translation for your selected language.
Securing dovecot (dovecot-2.2.10-4.el7_0.1) that uses openssl
This article is part of the Securing Applications Collection
Configuration File
/etc/dovecot.conf
shortform
ssl_disable = no
ssl_cert_file = /etc/pki/dovecot/certs/dovecot.pem
ssl_key_file = /etc/pki/dovecot/private/dovecot.pem
ssl_protocols = !SSLv2 !SSLv3
ssl_cipher_list = kDH:AES
Protocols
ssl_protocols = !SSLv2 !SSLv3
TLSv1
Protocol - Alternative Values
ssl_protocols = !SSLv2Allow SSLv3 or better
Ciphers
ssl_cipher_list = kDH:AES
Provides best cipher selection for RHEL5
Ciphers - Alternative Values
ssl_cipher_list = kDH:AES:RC4-SHAAdd RC4-SHA for old client compatibility
Certificate Handling
dovecot uses a key file and certificates file.
Key File
ssl_key = </etc/pki/dovecot/private/dovecot.pem
key should be readable only by root
Certificate File
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
Should contain the server certificate followed by any intermediate certificates and then the root certificate.
This solution is part of Red Hat's fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.