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
On 2007/02/26 11:14, Javier Henderson seems to have typed:> 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.pemYou need to specify both a key and cert file. You've specified half of that. You might want to review: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/openssl.html for creating a key and cert.
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 at 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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20070226/34342c8c/attachment-0001.html>