OpenFire (3.8.x, 3.9.x) TLS issues

Hey folks,

I am going nuts over an issue with tls. I get a log of INCOMING tls connections, but nearly ALL outgoing connections fail with

error.log:

org.jivesoftware.openfire.session.LocalOutgoingServerSession - Error creating secured outgoing session to remote server: jabber.ru(DNS lookup: jabber.ru:5269): javax.net.ssl.SSLException: Inbound closed before receiving peer’s close_notify: possible truncation attack?

warning.log:

2014.05.23 12:56:19 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Ignoring unexpected answer in validation from: jabber.ru id: 2476829864 for domain: alpha-labs.net answer:<stream:features xmlns:stream=“http://etherx.jabber.org/streams”></stream:features>

I get the same in…

  • Debian, openjdk-1.6, openfire 3.8.2 (repo),

  • Debian, openjdk-1.7, openfire 3.8.2 (repo),

  • Debian, openjdk-1.7, openfire 3.9.3 (igniterealtime .deb)

  • Debian, openjdk-1.7, openfire 3.9.3 (source compile)

  • CentOS, openfire 3.9.3 (igniterealtime .rpm)

There are some working outgoing connections, but most fail.

Any help is appreciated!

-Christian

Solved myself. Solution: