Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] cyrus pop-imap certs problem
Date: Thu, 06 Jul 2006 10:12:02
Message-Id: 20060706120057.38d7eec7@lx-arnau.pic.es
1 Hi,
2
3 I recently installed cyrus-imapd server (2.2.12).
4
5 I looked into the impad.conf file and found:
6 tls_ca_path: /etc/ssl/certs
7 tls_cert_file: /etc/ssl/cyrus/server.crt
8 tls_key_file: /etc/ssl/cyrus/server.key
9
10 So, cyrus has installed its own certs:
11 #equery belongs /etc/ssl/cyrus/server.pem
12 [ Searching for file(s) /etc/ssl/cyrus/server.pem in *... ]
13 net-mail/cyrus-imapd-2.2.12 (/etc/ssl/cyrus/server.pem)
14
15 But, when I'm trying to start TLS in imap and pop3, I get an error:
16
17 [pop3] unable to get private key from '/etc/ssl/cyrus/server.key'
18 [pop3] TLS server engine: cannot load cert/key data
19 [pop3] [pop3d] error initializing TLS
20 [imap] unable to get private key from '/etc/ssl/cyrus/server.key'
21 [imap] TLS server engine: cannot load cert/key data
22 [imap] error initializing TLS
23
24 I used default certs from postfix and they work fine.
25
26 Do I have to regenerate cyrus certs?¿
27 why aren't cyrus ones valid?
28
29 Thanks in advance,
30
31 --
32 Arnau Bria
33 http://blog.emergetux.net
34 "Flanders, de nada sirve rezar: yo mismo acabo de hacerlo y los dos
35 no vamos a ganar"
36 ~Homer J. Simpson~
37
38 --
39 gentoo-user@g.o mailing list