Koozali.org: home of the SME Server

after cacert installed, VPN & Webmail won't log in, imapd.pem involved

Offline mike_mattos

  • *
  • 313
  • +0/-0
SME 7.1 upgraded to 7.3 after the problem occurred

I installed a certificate via cacert to resolve an issue with my web certificate not matching the site
server.site.com instead of site.com

that fixed the certificate issue, but now VPN and webmail won't log in.
Checked the MySQL root password, phpMyAdmin displays valid entries in horde_prefs,

messages log
Jan 24 04:50:42 p4d HORDE[4376]: [imp] FAILED LOGIN 192.168.52.196 to localhost:143[imap/notls] as mike [on line 258 of "/home/httpd/html/horde/imp/lib/Auth/imp.php"]

imap log
2008-01-24 04:50:42.386002500 tcpsvd: info: status 1/400
2008-01-24 04:50:42.386008500 tcpsvd: info: pid 15127 from 127.0.0.1
2008-01-24 04:50:42.386013500 tcpsvd: info: concurrency 15127 127.0.0.1 1/12
2008-01-24 04:50:42.386017500 tcpsvd: info: start 15127 0:127.0.0.1 ::127.0.0.1:51591 ./peers/127.0.0.1
2008-01-24 04:50:42.387579500 2008.01.24 09:50:42 LOG5[15127:3086313696]: Using 'imap' as tcpwrapper service name
2008-01-24 04:50:42.390463500 imapfront-auth[15128]: * OK imapfront ready.
2008-01-24 04:50:42.390869500 2008.01.24 09:50:42 LOG3[15127:3086313696]: Error reading certificate file: imapd.pem
2008-01-24 04:50:42.390904500 2008.01.24 09:50:42 LOG3[15127:3086313696]: SSL_CTX_use_certificate_chain_file: error:0906D06C:PEM routines:PEM_read_bio:no start line
2008-01-24 04:50:42.393777500 tcpsvd: info: end 15127 exit 1
2008-01-24 04:50:42.393781500 tcpsvd: info: status 0/400

the file imapd.pem  is owned by root, permissions 0640 & begins

#------------------------------------------------------------
#          !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCg


All suggestions welcome

thx
...