SSL s2s connection does not work

Hello

I tried now since days to get the s2s SSL connection to swissjabber.ch working with wildfire, no success.

I did not change the self-signed certs from the keystore, I try to connect with the default certs.

I’'m using wildfire v3.1.0 beta2, swissjabber.ch is using jabberd14.

I try to connect to the following jid: whois@swissjabber.ch.

This one is a bot which is sending answers back on whois requests. Example: send google.ch and you will get the whois record back.

Swissjabber.ch is accepting only s2s SSL connections, but I tried many things, nothing works.

BTW: With ejabberd and jabberd14 everything works perfectly to this server.

Here are my debug.logs:

My Wildfire Server:

2006.09.27 22:22:11 OS - Trying to connect to swissjabber.ch:5269(DNS lookup: s2s.swissjabber.ch:5276)

2006.09.27 22:22:11 OS - Plain connection to swissjabber.ch:5269 successful

2006.09.27 22:22:11 OS - Going to try connecting using server dialback with: swissjabber.ch

2006.09.27 22:22:11 OS - Trying to connect to swissjabber.ch:5269(DNS lookup: s2s.swissjabber.ch:5275)

2006.09.27 22:22:11 OS - Connection to swissjabber.ch:5269 successful

2006.09.27 22:22:11 OS - Sent dialback key to host: swissjabber.ch id: 82655ad7b4c3b7a21c3b8c72e4eff88e252fcffb from domain: voicenet.ch

2006.09.27 22:22:11 Connect Socket[addr=/212.112.227.203,port=48427,localport=5269]

2006.09.27 22:22:11 OS - Validation FAILED from: swissjabber.ch id: 82655ad7b4c3b7a21c3b8c72e4eff88e252fcffb for domain: voicenet.ch

2006.09.27 22:22:11 Finishing Outgoing Server Reader. No session to close.

java.net.SocketException: Socket closed

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at org.jivesoftware.wildfire.net.ServerTrafficCounter$InputStreamWrapper.read(Serv erTrafficCounter.java:183)

at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)

at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)

at sun.nio.cs.StreamDecoder.read(Unknown Source)

at java.io.InputStreamReader.read(Unknown Source)

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)

at org.jivesoftware.wildfire.net.MXParser.nextImpl(MXParser.java:75)

at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)

at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:303)

at org.jivesoftware.wildfire.server.OutgoingServerSocketReader$1.run(OutgoingServe rSocketReader.java:91)

swissjabber.ch Server:

Wed Sep 27 20:41:33 2006 mio.c:479 mioaccept(85EC8F8) accepted fd #16

Wed Sep 27 20:41:33 2006 mio.c:498 new socket accepted (fd: 16, ip::ffff:193.223.247.55, port: 36080)

Wed Sep 27 20:41:33 2006 mio.c:1227 sending zzz notify to the select loop in mio_new()

Wed Sep 27 20:41:33 2006 mio.c:1240 notify sent

Wed Sep 27 20:41:33 2006 dialback_in.c:361 dbin read: fd 16 flag 0

Wed Sep 27 20:41:33 2006 mio.c:936 Accepted socket on MIO object 85FFE50, fd 16

Wed Sep 27 20:41:33 2006 mio.c:1020 mio while loop top

Wed Sep 27 20:41:33 2006 mio.c:1033 mio while loop, working

Wed Sep 27 20:41:33 2006 mio.c:1040 got a notify on zzz

Wed Sep 27 20:41:33 2006 mio.c:879 processing mio 85FFE50 (state 0)

Wed Sep 27 20:41:33 2006 mio.c:949 Calling read on MIO object 85FFE50, fd 16

Wed Sep 27 20:41:33 2006 mio.c:825 IN (119 of max 500, fd#16): I know the times are different, but I get always exactly this log when I try to connect.

Important: swissjabber.ch is setup 256bit key length.

I don’'t see any information in this debug.log about the SSL connection, how can I troubleshoot more of the SSL connection?

What could be my problem that I cannot connect with only ssl to the jabberd14 swissjabber.ch server?

Thanks for any help.

Peter

Hi

I reply to my own question:

Since Wildfire v3.1.0 is released this version can do now encrypted s2s connections to ejabberd server.

My previous problems went away.

Thanks for this great product!

Peter