ignore more SSH errors
[ansible.git] / roles / email / templates / dovecot / conf.d / 10-ssl.conf
1 ##
2 ## SSL settings
3 ##
4
5 # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
6 ssl = required
7
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
14
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.
19 #ssl_key_password =
20
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)
24 #ssl_ca =
25
26 # Require that CRL check succeeds for client certificates.
27 #ssl_require_crl = yes
28
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.
33 #ssl_client_ca_dir =
34 #ssl_client_ca_file =
35
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
39
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
44
45 # DH parameters to use
46 ssl_dh=</etc/ssl/dh2048.pem
47
48 # SSL ciphers to use
49 ssl_cipher_list = ALL:!EXPORT:!LOW:!MEDIUM:!kRSA:!kDH:!kECDH:!3DES
50
51 # Prefer the server's order of ciphers over client's.
52 #ssl_prefer_server_ciphers = no
53
54 # SSL crypto device to use, for valid values run "openssl engine"
55 #ssl_crypto_device =
56
57 # SSL extra options. Currently supported options are:
58 #   no_compression - Disable compression.
59 #ssl_options =