Peter Abrahamsen
2006-Oct-04 03:30 UTC
[Dovecot] Can't load certificate file: cert already in hash table
Hi, I've searched for this error and found nothing. When I switch on SSL, I get the following errors:>>>Oct 3 20:05:23 [dovecot] Dovecot v1.0.rc7 starting up Oct 3 20:05:24 [dovecot] Login process died too early - shutting down Oct 3 20:05:24 [dovecot] imap-login: Can't load certificate file /etc/ssl/certs/dovecot.crt: error:0B07C065:x509 certificate routines:X509_STORE_add_cert:cert already in hash table Oct 3 20:05:24 [dovecot] pop3-login: Can't load certificate file /etc/ssl/certs/dovecot.crt: error:0B07C065:x509 certificate routines:X509_STORE_add_cert:cert already in hash table - Last output repeated twice - Oct 3 20:05:24 [dovecot] child 13344 (login) returned error 89 Oct 3 20:05:24 [dovecot] child 13345 (login) returned error 89 Oct 3 20:05:24 [dovecot] child 13346 (login) returned error 89 Oct 3 20:05:24 [dovecot] child 13347 (login) returned error 89 <<< This is Gentoo on amd64 with openssl 0.9.8d. The cert and key were generated with tinyca and openssl 0.9.8c (I know, I know, it's upgrading now). I made 'em the same way I made my ldap and apache certs, which work fine. Any pointers? Also, why am I given a numeric error code? Thanks, Peter
Peter Abrahamsen
2006-Oct-04 21:22 UTC
[Dovecot] Can't load certificate file: cert already in hash table
This was fixed by commenting out the ssl_ca_file line. Good, I was afraid I was going to have to use courier or something. Peter On 10/3/06, Peter Abrahamsen <peter at amandrai.net> wrote:> Hi, > > I've searched for this error and found nothing. > > When I switch on SSL, I get the following errors: > > >>> > Oct 3 20:05:23 [dovecot] Dovecot v1.0.rc7 starting up > Oct 3 20:05:24 [dovecot] Login process died too early - shutting down > Oct 3 20:05:24 [dovecot] imap-login: Can't load certificate file > /etc/ssl/certs/dovecot.crt: error:0B07C065:x509 certificate > routines:X509_STORE_add_cert:cert already in hash table > Oct 3 20:05:24 [dovecot] pop3-login: Can't load certificate file > /etc/ssl/certs/dovecot.crt: error:0B07C065:x509 certificate > routines:X509_STORE_add_cert:cert already in hash table > - Last output repeated twice - > Oct 3 20:05:24 [dovecot] child 13344 (login) returned error 89 > Oct 3 20:05:24 [dovecot] child 13345 (login) returned error 89 > Oct 3 20:05:24 [dovecot] child 13346 (login) returned error 89 > Oct 3 20:05:24 [dovecot] child 13347 (login) returned error 89 > <<< > > This is Gentoo on amd64 with openssl 0.9.8d. The cert and key were > generated with tinyca and openssl 0.9.8c (I know, I know, it's > upgrading now). I made 'em the same way I made my ldap and apache > certs, which work fine. > > Any pointers? Also, why am I given a numeric error code? > > Thanks, > > Peter >