ejabberd - Comments for "Old 5223 SSL handshake fails." https://www.ejabberd.im/node/1270 en It doesn't seem a general problem https://www.ejabberd.im/node/1270#comment-2792 <p>It works for me, and it should on ejabberd 1.1.2 too. Try updating OpenSSL</p> <ul> <li>Gaim 2.0.0beta5 </li><li>OpenSSL 0.9.8c 05 Sep 2006 </li><li>Erlang emulator version 5.5.2 </li><li>ejabberd SVN </li><li>ejabberd.cfg:<br /> <pre>{listen, [ {5223, ejabberd_c2s, [{access, c2s}, tls, {certfile, "/etc/server.pem"}]},</pre></li><li>ejabberd.log: <pre>=INFO REPORT==== 31-Dec-2006::21:44:10 === I(&lt;0.274.0&gt;:ejabberd_listener:90): (#Port&lt;0.531&gt;) Accepted connection {{81,202,100,184},36666} -&gt; {{10,10,10,1},5223} =INFO REPORT==== 31-Dec-2006::21:44:10 === I(&lt;0.567.0&gt;:ejabberd_c2s:597) : ({socket_state,tls,{tlssock,#Port&lt;0.531&gt;,#Port&lt;0.532&gt;},&lt;0.566.0&gt;}) Accepted authentication for bububuaaa</pre></li><li> <pre>openssl s_client -connect localhost:5223 -debug CONNECTED(00000003) write to 0x80bef78 [0x80bfe80] (118 bytes =&gt; 118 (0x76)) 0000 - 80 74 01 03 01 00 4b 00-00 00 20 00 00 39 00 00 .t....K... ..9.. 0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0 8..5............ 0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 05 00 ..3..2../....... 0030 - 00 04 01 00 80 00 00 15-00 00 12 00 00 09 06 00 ................ 0040 - 40 00 00 14 00 00 11 00-00 08 00 00 06 04 00 80 @............... 0050 - 00 00 03 02 00 80 0f e9-4c 5f 8d 0c 1e 81 42 e9 ........L_....B. 0060 - 3d df 6e 24 41 62 e7 01-4b fd be 38 a3 c6 eb 8b =.n$Ab..K..8.... 0070 - 82 af ad f1 90 ea ...... read from 0x80bef78 [0x80c53e0] (7 bytes =&gt; 7 (0x7)) 0000 - 16 03 01 00 4a 02 ....J. 0007 - read from 0x80bef78 [0x80c53e7] (72 bytes =&gt; 72 (0x48)) 0000 - 00 46 03 01 45 98 22 c1-2c b5 03 01 15 67 18 86 .F..E.".,....g.. 0010 - fa 7d d0 ec 1c 8d 49 4c-ec d6 2d 1c e0 fc be 48 .}....IL..-....H 0020 - f2 01 df 62 20 f4 52 33-8a ee 34 70 2f 50 c9 3a ...b .R3..4p/P.: 0030 - f2 4a d1 cb 5e 4c da c9-71 6f 65 c3 23 2d 0d af .J..^L..qoe.#-.. 0040 - 76 86 f5 25 f1 00 35 ...</pre></li></ul> Sun, 31 Dec 2006 21:01:02 +0000 mfoss comment 2792 at https://www.ejabberd.im