Dovecot can't find RSA certificate
The problem is, dovecot keeps looking for the certificate in /etc/dovecot/dovecot.pem, even after I've configured the path in 10-ssl.conf as follows:
ssl_cert =
ssl_key =
Also, it assumes that the certificate is a .pem file, but the pair created are obviously a .crt and a .key. Is this a problem?
A fuller sample from my error log:
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: warning: cannot get RSA certificate from file "/etc/dovecot/dovecot.pem": disabling TLS support
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: warning: TLS library problem: error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/dovecot/dovecot.p
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: warning: TLS library problem: error:20074002:BIO routines:FILECTRL:system lib:bssfile.c:400:
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: warning: TLS library problem: error:140DC002:SSL routines:SSLCTXusecertificatechainfile:system lib:sslrsa.c:701:
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18182]: connect from 220-235-158-153.dyn.iinet.net.au[220.235.158.153]
Feb 12 21:03:26 sheffield postfix/submission/smtpd[18184]: connect from 220-235-158-153.dyn.iinet.net.au[220.235.158.153]
Feb 12 21:03:27 sheffield postfix/submission/smtpd[18182]: improper command pipelining after EHLO from 220-235-158-153.dyn.iinet.net.au[220.235.158.153]: QUIT\r\n
Feb 12 21:03:27 sheffield postfix/submission/smtpd[18182]: disconnect from 220-235-158-153.dyn.iinet.net.au[220.235.158.153] ehlo=1 quit=1 commands=2
Feb 12 21:03:27 sheffield postfix/submission/smtpd[18184]: improper command pipelining after EHLO from 220-235-158-153.dyn.iinet.net.au[220.235.158.153]: QUIT\r\n
Feb 12 21:03:27 sheffield postfix/submission/smtpd[18184]: disconnect from 220-235-158-153.dyn.iinet.net.au[220.235.158.153] ehlo=1 quit=1 commands=2
Any suggestions?
Thanks
- Ben
2 Replies
ssl_cert =
ssl_key =
Remove them from the front of these lines and restart.
Thanks!