On Mon, Mar 31, 2008 at 10:30 AM, Bernhard D Rohrer <graylion@xxxxxxxxx> wrote: > > Patrick Boutilier wrote: > > and I am getting this error: > > Mar 31 01:33:41 collab cyrus/imaps[12733]: unable to get certificate > from '/usr/lib/ssl/imap.pem' > Mar 31 01:33:41 collab cyrus/imaps[12733]: TLS server engine: cannot > load cert/key data, may be a cert/key mismatch? > Mar 31 01:33:41 collab cyrus/imaps[12733]: error initializing TLS > Mar 31 01:33:41 collab cyrus/imaps[12733]: Fatal error: tls_init() failed > Mar 31 01:33:41 collab cyrus/imaps[12733]: DBERROR: error exiting > application: Invalid argument > > help?? > > > unable to get certificate from '/usr/lib/ssl/imap.pem' > > Look in /etc/imapd.conf and make sure you don't have tls_cert_file > defined twice. > > > > > no joy with your or Alain's suggestions :( Are you sure /etc/imapd.conf is the configuration file in use ? can you use -C in cyrus.conf to be sure ? FYI here is my log when certificate file are missing: When both are missing : Mar 31 14:25:04 eg01.emailgency.loc <notice> imaps[20187]: TLS server engine: cannot load CA data Mar 31 14:25:04 eg01.emailgency.loc <error> imaps[20187]: unable to get certificate from '/kolab/etc/kolab/cert.pem' Mar 31 14:25:04 eg01.emailgency.loc <error> imaps[20187]: TLS server engine: cannot load cert/key data Mar 31 14:25:04 eg01.emailgency.loc <error> imaps[20187]: error initializing TLS Mar 31 14:25:04 eg01.emailgency.loc <error> imaps[20187]: Fatal error: tls_init() failed Mar 31 14:25:04 eg01.emailgency.loc <warning> imaps[20187]: DBERROR db4: Database handles still open at environment close Mar 31 14:25:04 eg01.emailgency.loc <warning> imaps[20187]: DBERROR db4: Open database handle: /kolab/var/imapd/tls_sessions.db Mar 31 14:25:04 eg01.emailgency.loc <error> imaps[20187]: DBERROR: error exiting application: Invalid argument When only the key is missing Mar 31 14:30:04 eg01.emailgency.loc <notice> imaps[20778]: TLS server engine: cannot load CA data Mar 31 14:30:04 eg01.emailgency.loc <error> imaps[20778]: unable to get private key from '/kolab/etc/kolab/key.pem' Mar 31 14:30:04 eg01.emailgency.loc <error> imaps[20778]: TLS server engine: cannot load cert/key data Mar 31 14:30:04 eg01.emailgency.loc <error> imaps[20778]: error initializing TLS Mar 31 14:30:04 eg01.emailgency.loc <error> imaps[20778]: Fatal error: tls_init() failed Mar 31 14:30:04 eg01.emailgency.loc <warning> imaps[20778]: DBERROR db4: Database handles still open at environment close Mar 31 14:30:04 eg01.emailgency.loc <warning> imaps[20778]: DBERROR db4: Open database handle: /kolab/var/imapd/tls_sessions.db Mar 31 14:30:04 eg01.emailgency.loc <error> imaps[20778]: DBERROR: error exiting application: Invalid argument regards. > > > thanks > > Bernhard > > -- > Graylion's Fetish & Fashion Store > Goth and Kinky Boots, Clothing and Jewellery > http://www.graylion.net > > > ---- > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > -- Alain Spineux aspineux gmail com May the sources be with you ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html