Old 5223 SSL handshake fails.

Success! I did a clean and recompile of my ejabberd server, and now the old SSL works again. I must have forgotten to clean before compiling last time. Sorry, this isn't a real bug. It works for me now just fine.

It doesn't seem a general problem

It works for me, and it should on ejabberd 1.1.2 too. Try updating OpenSSL

  • Gaim 2.0.0beta5
  • OpenSSL 0.9.8c 05 Sep 2006
  • Erlang emulator version 5.5.2
  • ejabberd SVN
  • ejabberd.cfg:
    {listen,
     [
      {5223, ejabberd_c2s, [{access, c2s}, tls, {certfile, "/etc/server.pem"}]},
  • ejabberd.log:
    =INFO REPORT==== 31-Dec-2006::21:44:10 ===
    I(<0.274.0>:ejabberd_listener:90): (#Port<0.531>) Accepted connection {{81,202,100,184},36666} -> {{10,10,10,1},5223}
    
    =INFO REPORT==== 31-Dec-2006::21:44:10 ===
    I(<0.567.0>:ejabberd_c2s:597) : ({socket_state,tls,{tlssock,#Port<0.531>,#Port<0.532>},<0.566.0>}) Accepted authentication for bububuaaa
  • openssl s_client -connect localhost:5223 -debug
    CONNECTED(00000003)
    write to 0x80bef78 [0x80bfe80] (118 bytes => 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 => 7 (0x7))
    0000 - 16 03 01 00 4a 02                                 ....J.
    0007 - 
    read from 0x80bef78 [0x80c53e7] (72 bytes => 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  
    ...
Syndicate content