[Dovecot] Certs file

Peter A. Giessel pgiessel at mac.com
Mon Feb 26 20:37:39 UTC 2007

On 2007/02/26 11:27, Javier Henderson seems to have typed:
> On Feb 26, 2007, at 3:20 PM, Peter A. Giessel wrote:
>> 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.pem
>> You 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.
> I've a single file with both the cert and the key. I guess I can  
> break them into two.
> Thanks.

That should work (I think), but you need to tell Dovecot where it is.

Try in the config file:
ssl_key_file = /usr/local/certs/imapd.pem

If you tell it nothing, it assumes:
ssl_key_file = /etc/ssl/private/dovecot.pem

More information about the dovecot mailing list