updating a user from admin console and from command line i get the following exception:
Feb 12, 2008 2:52:12 PM com.openexchange.admin.rmi.impl.OXUserIMAPImpl initImap
SEVERE: Unrecognized SSL message, plaintext connection?
javax.mail.MessagingException: Unrecognized SSL message, plaintext connection?;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPSt ore.java:479)
at javax.mail.Service.connect(Service.java:275)
at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.ini tImap(OXUserIMAPImpl.java:235)
at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.createSpamFilter(OXUserMailfilterImpl.java:841)
at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.changeimpl(OXUserMailfilterImpl.java:557)
at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.change(OXUserMailfilterImpl.java:171)
at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:290)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.InputRecord.handleUnk nownRecord(InputRecord.java:521)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Inpu tRecord.java:355)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec ord(SSLSocketImpl.java:723)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.perform InitialHandshake(SSLSocketImpl.java:1030)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDat aRecord(SSLSocketImpl.java:678)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(A ppInputStream.java:75)
at com.sun.mail.util.TraceInputStream.read(TraceInput Stream.java:97)
at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)
at java.io.BufferedInputStream.read(BufferedInputStre am.java:235)
at com.sun.mail.iap.ResponseInputStream.read0(Respons eInputStream.java:81)
at com.sun.mail.iap.ResponseInputStream.readResponse( ResponseInputStream.java:67)
at com.sun.mail.iap.Response.<init>(Response.java:83)
at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMA PResponse.java:48)
at com.sun.mail.imap.protocol.IMAPResponse.readRespon se(IMAPResponse.java:122)
at com.sun.mail.imap.protocol.IMAPProtocol.readRespon se(IMAPProtocol.java:230)
at com.sun.mail.iap.Protocol.<init>(Protocol.java:91)
at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMA PProtocol.java:87)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPSt ore.java:446)
... 16 more
AND LOOKING IN THE /var/log/mail.log i can see
Feb 12 15:02:10 openexchange cyrus/master[1528]: about to exec /usr/lib/cyrus/bin/imapd
Feb 12 15:02:10 openexchange cyrus/imap[1528]: executed
Feb 12 15:02:10 openexchange cyrus/imap[1528]: accepted connection
Feb 12 15:02:10 openexchange cyrus/imap[1528]: login: openexchange [127.0.0.1] oxadmin plaintext User logged in
Feb 12 15:02:10 openexchange cyrus/master[1530]: about to exec /usr/lib/cyrus/bin/timsieved
Feb 12 15:02:10 openexchange cyrus/sieve[1530]: executed
Feb 12 15:02:10 openexchange cyrus/sieve[1530]: accepted connection
Feb 12 15:02:10 openexchange cyrus/sieve[1530]: login: openexchange[127.0.0.1] webmaster PLAIN User logged in
Feb 12 15:02:10 openexchange cyrus/master[1531]: about to exec /usr/lib/cyrus/bin/imapd
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: executed
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: accepted connection
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: unable to get private key from '/etc/ssl/private/eekey.pem'
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: TLS server engine: cannot load cert/key data, may be a cert/key mismatch?
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: error initializing TLS
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: Fatal error: tls_init() failed
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: DBERROR db4: Database handles open during environment close
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: DBERROR: error exiting application: Invalid argument
Feb 12 15:02:10 openexchange cyrus/master[28182]: process 1531 exited, status 75
Feb 12 15:02:10 openexchange cyrus/master[28182]: service imaps pid 1531 in BUSY state: terminated abnormally
Feb 12 15:02:10 openexchange cyrus/master[28182]: process 1530 exited, status 0
Is it something with the ssl certificates?
I can't understand very well how to manage this issue.
Any hints?
Thanks!!!
Feb 12, 2008 2:52:12 PM com.openexchange.admin.rmi.impl.OXUserIMAPImpl initImap
SEVERE: Unrecognized SSL message, plaintext connection?
javax.mail.MessagingException: Unrecognized SSL message, plaintext connection?;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPSt ore.java:479)
at javax.mail.Service.connect(Service.java:275)
at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.ini tImap(OXUserIMAPImpl.java:235)
at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.createSpamFilter(OXUserMailfilterImpl.java:841)
at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.changeimpl(OXUserMailfilterImpl.java:557)
at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.change(OXUserMailfilterImpl.java:171)
at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:290)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.InputRecord.handleUnk nownRecord(InputRecord.java:521)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Inpu tRecord.java:355)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec ord(SSLSocketImpl.java:723)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.perform InitialHandshake(SSLSocketImpl.java:1030)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDat aRecord(SSLSocketImpl.java:678)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(A ppInputStream.java:75)
at com.sun.mail.util.TraceInputStream.read(TraceInput Stream.java:97)
at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)
at java.io.BufferedInputStream.read(BufferedInputStre am.java:235)
at com.sun.mail.iap.ResponseInputStream.read0(Respons eInputStream.java:81)
at com.sun.mail.iap.ResponseInputStream.readResponse( ResponseInputStream.java:67)
at com.sun.mail.iap.Response.<init>(Response.java:83)
at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMA PResponse.java:48)
at com.sun.mail.imap.protocol.IMAPResponse.readRespon se(IMAPResponse.java:122)
at com.sun.mail.imap.protocol.IMAPProtocol.readRespon se(IMAPProtocol.java:230)
at com.sun.mail.iap.Protocol.<init>(Protocol.java:91)
at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMA PProtocol.java:87)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPSt ore.java:446)
... 16 more
AND LOOKING IN THE /var/log/mail.log i can see
Feb 12 15:02:10 openexchange cyrus/master[1528]: about to exec /usr/lib/cyrus/bin/imapd
Feb 12 15:02:10 openexchange cyrus/imap[1528]: executed
Feb 12 15:02:10 openexchange cyrus/imap[1528]: accepted connection
Feb 12 15:02:10 openexchange cyrus/imap[1528]: login: openexchange [127.0.0.1] oxadmin plaintext User logged in
Feb 12 15:02:10 openexchange cyrus/master[1530]: about to exec /usr/lib/cyrus/bin/timsieved
Feb 12 15:02:10 openexchange cyrus/sieve[1530]: executed
Feb 12 15:02:10 openexchange cyrus/sieve[1530]: accepted connection
Feb 12 15:02:10 openexchange cyrus/sieve[1530]: login: openexchange[127.0.0.1] webmaster PLAIN User logged in
Feb 12 15:02:10 openexchange cyrus/master[1531]: about to exec /usr/lib/cyrus/bin/imapd
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: executed
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: accepted connection
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: unable to get private key from '/etc/ssl/private/eekey.pem'
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: TLS server engine: cannot load cert/key data, may be a cert/key mismatch?
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: error initializing TLS
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: Fatal error: tls_init() failed
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: DBERROR db4: Database handles open during environment close
Feb 12 15:02:10 openexchange cyrus/imaps[1531]: DBERROR: error exiting application: Invalid argument
Feb 12 15:02:10 openexchange cyrus/master[28182]: process 1531 exited, status 75
Feb 12 15:02:10 openexchange cyrus/master[28182]: service imaps pid 1531 in BUSY state: terminated abnormally
Feb 12 15:02:10 openexchange cyrus/master[28182]: process 1530 exited, status 0
Is it something with the ssl certificates?
I can't understand very well how to manage this issue.
Any hints?
Thanks!!!
Comment