Brak opisu
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.

etc_dovecot_conf.d_10-ssl.conf.j2 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ##
  2. ## SSL settings
  3. ##
  4. # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
  5. ssl = required
  6. # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
  7. # dropping root privileges, so keep the key file unreadable by anyone but
  8. # root. Included doc/mkcert.sh can be used to easily generate self-signed
  9. # certificate, just make sure to update the domains in dovecot-openssl.cnf
  10. ssl_cert = </etc/letsencrypt/live/{{ domain }}/fullchain.pem
  11. ssl_key = </etc/letsencrypt/live/{{ domain }}/privkey.pem
  12. # If key file is password protected, give the password here. Alternatively
  13. # give it when starting dovecot with -p parameter. Since this file is often
  14. # world-readable, you may want to place this setting instead to a different
  15. # root owned 0600 file by using ssl_key_password = <path.
  16. #ssl_key_password =
  17. # PEM encoded trusted certificate authority. Set this only if you intend to use
  18. # ssl_verify_client_cert=yes. The file should contain the CA certificate(s)
  19. # followed by the matching CRL(s). (e.g. ssl_ca = </etc/ssl/certs/ca.pem)
  20. #ssl_ca = /etc/ssl/ca.pem
  21. # Require that CRL check succeeds for client certificates.
  22. #ssl_require_crl = yes
  23. # Request client to send a certificate. If you also want to require it, set
  24. # auth_ssl_require_client_cert=yes in auth section.
  25. #ssl_verify_client_cert = no
  26. # Which field from certificate to use for username. commonName and
  27. # x500UniqueIdentifier are the usual choices. You'll also need to set
  28. # auth_ssl_username_from_cert=yes.
  29. #ssl_cert_username_field = commonName
  30. # How often to regenerate the SSL parameters file. Generation is quite CPU
  31. # intensive operation. The value is in hours, 0 disables regeneration
  32. # entirely.
  33. #ssl_parameters_regenerate = 168
  34. # SSL protocols to use
  35. ssl_protocols = !SSLv3
  36. # SSL ciphers to use
  37. #ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL
  38. # SSL crypto device to use, for valid values run "openssl engine"
  39. #ssl_crypto_device =
  40. # DH parameters length to use.
  41. ssl_dh_parameters_length = 2048