Cyrus and SSL

Alexander Dalloz ad+lists at uni-x.org
Sat Dec 9 13:02:21 UTC 2006


redhatdude at bellsouth.net schrieb:

>>>>>
>>>>> Dec  8 05:22:43 imaps[15768]: unable to get certificate from '/etc/
>>>>> pki/cyrus-imapd/cyrus-imapd.pem'
>>>>> Dec  8 05:22:43 imaps[15768]: TLS server engine: cannot load  
>>>>> cert/key
>>>>> data
>>>>> Dec  8 05:22:43 imaps[15768]: error initializing TLS
>>>>> Dec  8 05:22:43 imaps[15768]: Fatal error: tls_init() failed
>>>>
>>>
>>> SeLinux is turned off. I deleted /var/lib/imap/tls_sessions.db and
>>> cyrus created a new one. I created the certs for cyrus, changed
>>> ownership to cyrus:mail and did chmod 600. I'm still having the same
>>> problem. 
>>
>
> I installed cyrus-imapd using yum, I did nothing to it. Same thing  
> with openssl, I have what got installed with FC6.
> I'm still getting the same messages.
> Cyrus-imapd works fine as long as I don't try to connect to it on  
> port 993 ( ssl ). So I don't think berkeleydb is the problem if cyrus- 
> imapd works fine authenticating my virtual users without using SSL.
> Cyrus seems to just not wanting to take the certs.
> Thanks, I appreciate your help.
> EJ

What are the permissions of the path elements to the certificate(s)?

ls -ld / /etc /etc/pki /etc/pki/cyrus-imapd

And does the certificate file name really match the one specified in 
imapd.conf?

Alexander






More information about the fedora-list mailing list