Re: Cyrus and SSL



redhatdude@xxxxxxxxxxxxx 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



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: [opensuse] Help with Certs for Cyrus IMAP and TLS
    ... Ok, I changed the certs permissions to read/write by root only, no others can read. ... I re-made the certs again using a different how-to, making sure they did not require a pass phrase, but that did not fix the problem either. ... One, I had to start cyrus in runlevel editor and second, my IMAP SSL was and is now broken. ...
    (SuSE)
  • Fwd: Cyrus and SSL
    ... If I don't use SSL it works fine. ... I created the certs for cyrus, changed ownership to cyrus:mail and did chmod 600. ...
    (Fedora)
  • Re: Cyrus and SSL
    ... If I don't use SSL it works fine. ... I would presume that it like all other things cyrus- imapd should be cyrus:mail ownership and in checking on my system, ... I created the certs for cyrus, changed ownership to cyrus:mail and did chmod 600. ...
    (Fedora)
  • Re: Fwd: Cyrus and SSL
    ... If I don't use SSL it works fine. ... you might want to delete that file and restart cyrus-imapd so it ... I created the certs for cyrus, ...
    (Fedora)
  • [opensuse] Help with Certs for Cyrus IMAP and TLS
    ... I made certs for TLS and put them in /etc/postfix/ssl. ... running telent localhost 25 returns: ... Where do I put the cert for cyrus IMAP, and what config file do I tell cyrus to point to? ...
    (SuSE)