Dovecot not changing SSL key and certificate as in config file
I am trying to use my (decrypted) SSL key and certificate in Dovecot. I have changed /etc/dovecot/conf.d/10-ssl.conf like so: ssl_cert = </etc/ssl/private/ssl-chain-mail-mydomain.com.pem ssl_key = </etc/ssl/private/ssl-key-decrypted-mail-mydomain.com.key
However, after running service dovecot restart, dovecot -n still says that the files /etc/dovecot/dovecot.pem and /etc/dovecot/private/dovecot.pem are being used. I am using dovecot 2.2.9, any help would be greatly appreciated.
Am 08.07.2014 12:58, schrieb Mitchell McMillan:
I am trying to use my (decrypted) SSL key and certificate in Dovecot. I have changed /etc/dovecot/conf.d/10-ssl.conf like so: ssl_cert = </etc/ssl/private/ssl-chain-mail-mydomain.com.pem ssl_key = </etc/ssl/private/ssl-key-decrypted-mail-mydomain.com.key
However, after running service dovecot restart, dovecot -n still says that the files /etc/dovecot/dovecot.pem and /etc/dovecot/private/dovecot.pem are being used. I am using dovecot 2.2.9, any help would be greatly appreciated.
Maybe the values got overwritten by another file. grep -ER 'ssl_(key|cert)' /etc/dovecot/
-- Alex JOST
Am 08.07.2014 12:58, schrieb Mitchell McMillan:
I am trying to use my (decrypted) SSL key and certificate in Dovecot. I have changed /etc/dovecot/conf.d/10-ssl.conf like so: ssl_cert = </etc/ssl/private/ssl-chain-mail-mydomain.com.pem ssl_key = </etc/ssl/private/ssl-key-decrypted-mail-mydomain.com.key
However, after running service dovecot restart, dovecot -n still says that the files /etc/dovecot/dovecot.pem and /etc/dovecot/private/dovecot.pem are being used. I am using dovecot 2.2.9, any help would be greatly appreciated
and that's why i use *one* dovecot.conf or if i work with snippets place them far away from default locations
another config snippet coming later overwrites your value most likely
participants (3)
-
Alex JOST
-
Mitchell McMillan
-
Reindl Harald