5 # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
8 # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
9 # dropping root privileges, so keep the key file unreadable by anyone but
10 # root. Included doc/mkcert.sh can be used to easily generate self-signed
11 # certificate, just make sure to update the domains in dovecot-openssl.cnf
12 ssl_cert = </etc/ssl/mycerts/letsencrypt/live.crt
13 ssl_key = </etc/ssl/private/letsencrypt/live.key
15 # If key file is password protected, give the password here. Alternatively
16 # give it when starting dovecot with -p parameter. Since this file is often
17 # world-readable, you may want to place this setting instead to a different
18 # root owned 0600 file by using ssl_key_password = <path.
21 # PEM encoded trusted certificate authority. Set this only if you intend to use
22 # ssl_verify_client_cert=yes. The file should contain the CA certificate(s)
23 # followed by the matching CRL(s). (e.g. ssl_ca = </etc/ssl/certs/ca.pem)
26 # Require that CRL check succeeds for client certificates.
27 #ssl_require_crl = yes
29 # Directory and/or file for trusted SSL CA certificates. These are used only
30 # when Dovecot needs to act as an SSL client (e.g. imapc backend). The
31 # directory is usually /etc/ssl/certs in Debian-based systems and the file is
32 # /etc/pki/tls/cert.pem in RedHat-based systems.
36 # Request client to send a certificate. If you also want to require it, set
37 # auth_ssl_require_client_cert=yes in auth section.
38 #ssl_verify_client_cert = no
40 # Which field from certificate to use for username. commonName and
41 # x500UniqueIdentifier are the usual choices. You'll also need to set
42 # auth_ssl_username_from_cert=yes.
43 #ssl_cert_username_field = commonName
45 # DH parameters to use
46 ssl_dh=</etc/ssl/dh2048.pem
49 ssl_cipher_list = ALL:!EXPORT:!LOW:!MEDIUM:!kRSA:!kDH:!kECDH:!3DES
51 # Prefer the server's order of ciphers over client's.
52 #ssl_prefer_server_ciphers = no
54 # SSL crypto device to use, for valid values run "openssl engine"
57 # SSL extra options. Currently supported options are:
58 # no_compression - Disable compression.