summaryrefslogtreecommitdiff
path: root/dovecot/conf.d/10-ssl.conf.diff
blob: 56ee9c37cbc02948f583eac31babb8da2a579833 (plain)
  1. --- 10-ssl.conf.orig 2014-12-14 20:20:55.000000000 +0100
  2. +++ 10-ssl.conf 2016-08-27 09:43:42.000000000 +0200
  3. @@ -3,14 +3,14 @@
  4.  ##
  5. # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
  6. -ssl = no
  7. +ssl = yes
  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/dovecot/dovecot.pem
  13. -#ssl_key = </etc/dovecot/private/dovecot.pem
  14. +ssl_cert = </etc/dovecot/dovecot.pem
  15. +ssl_key = </etc/dovecot/private/dovecot.pem
  16. # If key file is password protected, give the password here. Alternatively
  17. # give it when starting dovecot with -p parameter. Since this file is often
  18. @@ -46,13 +46,14 @@
  19. #ssl_dh_parameters_length = 1024
  20. # SSL protocols to use
  21. -#ssl_protocols = !SSLv2
  22. +ssl_protocols = !SSLv2 !SSLv3
  23. # SSL ciphers to use
  24. #ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL
  25. +ssl_cipher_list = EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4
  26. # Prefer the server's order of ciphers over client's.
  27. -#ssl_prefer_server_ciphers = no
  28. +ssl_prefer_server_ciphers = yes
  29. # SSL crypto device to use, for valid values run "openssl engine"
  30. #ssl_crypto_device =