Mitchell McMillan
2014-Jul-08 10:58 UTC
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.
Alex JOST
2014-Jul-08 11:15 UTC
Dovecot not changing SSL key and certificate as in config file
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
Reindl Harald
2014-Jul-08 11:18 UTC
Dovecot not changing SSL key and certificate as in config file
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 appreciatedand 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 246 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20140708/5b2688bd/attachment.sig>