4cff43300757dea6c3baa74d7b4b3a0a1ee0d6ba
[sysconfig/dovecot.git] / conf.d / 10-ssl.conf
1 ##
2 ## SSL settings
3 ##
4
5 # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
6 #ssl = yes
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/certs/olinda.dovecot.crt
13 ssl_key = </etc/ssl/private/olinda.dovecot.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 # Request client to send a certificate. If you also want to require it, set
27 # auth_ssl_require_client_cert=yes in auth section.
28 #ssl_verify_client_cert = no
29
30 # Which field from certificate to use for username. commonName and
31 # x500UniqueIdentifier are the usual choices. You'll also need to set
32 # auth_ssl_username_from_cert=yes.
33 #ssl_cert_username_field = commonName
34
35 # How often to regenerate the SSL parameters file. Generation is quite CPU
36 # intensive operation. The value is in hours, 0 disables regeneration
37 # entirely.
38 #ssl_parameters_regenerate = 168
39
40 # SSL ciphers to use
41 #ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL