From 99c783a32bd752577dafaa779c4ddd6ccdd663bd Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Fri, 15 Sep 2017 11:02:38 +0000 Subject: [PATCH] ssl config --- tasks/main.yml | 1 + templates/conf.d/10-ssl.conf.j2 | 62 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 templates/conf.d/10-ssl.conf.j2 diff --git a/tasks/main.yml b/tasks/main.yml index 71d163b..b4db040 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -34,6 +34,7 @@ - conf.d/10-auth.conf - conf.d/auth-sql.conf.ext - dovecot-sql.conf.ext + - conf.d/10-ssl.conf notify: - reload dovecot diff --git a/templates/conf.d/10-ssl.conf.j2 b/templates/conf.d/10-ssl.conf.j2 new file mode 100644 index 0000000..ab2dc01 --- /dev/null +++ b/templates/conf.d/10-ssl.conf.j2 @@ -0,0 +1,62 @@ +## +## SSL settings +## + +# SSL/TLS support: yes, no, required. +ssl = no + +# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before +# dropping root privileges, so keep the key file unreadable by anyone but +# root. Included doc/mkcert.sh can be used to easily generate self-signed +# certificate, just make sure to update the domains in dovecot-openssl.cnf +#ssl_cert =