You probably need to have the: ssl_key_file option in the config file, otherwise it'll use the default. You have the ssl_cert_file, but not ssl_key_file.
On 2/26/07, Javier Henderson javier@kjsl.com wrote:
I'm running 1.0rc23 on FreeBSD 6.2-RELEASE, and seeing the following:
Starting dovecot. Error: Can't use SSL key file /etc/ssl/private/dovecot.pem: No such file or directory
In the config file I have:
ssl_cert_file=/usr/local/certs/imapd.pem
Looking for dovecot.pem on the config file there's only:
% grep dovecot.pem dovecot.conf #ssl_cert_file = /etc/ssl/certs/dovecot.pem #ssl_key_file = /etc/ssl/private/dovecot.pem
So the two entries referencing dovecot.pem are commented out. I removed those two lines anyway, just in case, but it didn't make a difference.
What am I missing? I'd love to include the output of 'dovecot -n' but...
% dovecot -n # /usr/local/etc/dovecot.conf Error: Can't use SSL key file /etc/ssl/private/dovecot.pem: No such file or directory
Thanks,
-jav