allow set path for ssl cert/key
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-02-03 00:38:19 -03:00
parent 9701d0bfdb
commit e09a9d5c39
2 changed files with 5 additions and 3 deletions

View File

@@ -9,8 +9,8 @@ ssl = yes
# 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 = </ssl/cert.pem
ssl_key = </ssl/key.pem
{{ with getv "/ssl/cert" }}ssl_cert = <{{.}}{{ end }}
{{ with getv "/ssl/key" }}ssl_key = <{{.}}{{ end }}
# If key file is password protected, give the password here. Alternatively
# give it when starting dovecot with -p parameter. Since this file is often