You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.3KB

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