Advertisement
Guest User

Untitled

a guest
Jul 9th, 2019
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  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/dovecot.pem
  13. ssl_key = </etc/ssl/private/dovecot.pem
  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 or
  31. # submission service). The directory is usually /etc/ssl/certs in
  32. # Debian-based systems and the file is /etc/pki/tls/cert.pem in
  33. # RedHat-based systems.
  34. #ssl_client_ca_dir =
  35. #ssl_client_ca_file =
  36.  
  37. # Request client to send a certificate. If you also want to require it, set
  38. # auth_ssl_require_client_cert=yes in auth section.
  39. #ssl_verify_client_cert = no
  40.  
  41. # Which field from certificate to use for username. commonName and
  42. # x500UniqueIdentifier are the usual choices. You'll also need to set
  43. # auth_ssl_username_from_cert=yes.
  44. #ssl_cert_username_field = commonName
  45.  
  46. # SSL DH parameters
  47. # Generate new params with `openssl dhparam -out /etc/dovecot/dh.pem 4096`
  48. # Or migrate from old ssl-parameters.dat file with the command dovecot
  49. # gives on startup when ssl_dh is unset.
  50. ssl_dh = </usr/local/dovecot/etc/dh.pem
  51.  
  52. # Minimum SSL protocol version to use. Potentially recognized values are SSLv3,
  53. # TLSv1, TLSv1.1, and TLSv1.2, depending on the OpenSSL version used.
  54. ssl_min_protocol = TLSv1
  55.  
  56. # SSL ciphers to use, the default is:
  57. #ssl_cipher_list = ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@STRENGTH
  58. # To disable non-EC DH, use:
  59. #ssl_cipher_list = ALL:!DH:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@STRENGTH
  60.  
  61. # Colon separated list of elliptic curves to use. Empty value (the default)
  62. # means use the defaults from the SSL library. P-521:P-384:P-256 would be an
  63. # example of a valid value.
  64. #ssl_curve_list =
  65.  
  66. # Prefer the server's order of ciphers over client's.
  67. #ssl_prefer_server_ciphers = no
  68.  
  69. # SSL crypto device to use, for valid values run "openssl engine"
  70. #ssl_crypto_device =
  71.  
  72. # SSL extra options. Currently supported options are:
  73. # compression - Enable compression.
  74. # no_ticket - Disable SSL session tickets.
  75. #ssl_options =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement