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 =