Jsse client, ws_ftp server : please help!
843810Nov 29 2001 — edited Apr 25 2002Hi all,
i'm using :
* jsdk 1.40 beta,
* java FTP client using JSSE (with trusted certificates stored in my keystore)
* Ws_FTP server (from Ipswitch) wich is SSL-enabled.
when i try to connect from my client i have the following exception:
javax.net.ssl.SSLException: Unrecognized SSL handshake.
with -Djavax.net.debug=all i have the following message :
trigger seeding of SecureRandom
done seeding SecureRandom
%% No cached client session
*** ClientHello, v3.1
RandomCookie: GMT: 1007037593 bytes = { 100, 108, 158, 193, 138, 234, 209, 155, 12, 27, 203, 244, 203, 158, 153, 55, 191, 173, 191, 99, 188, 19, 156, 213, 7, 172, 86, 86 }
Session ID: {}
Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
Compression Methods: { 0 }
***
[write] MD5 and SHA1 hashes: len = 59
0000: 01 00 00 37 03 01 3C 06 2D 99 64 6C 9E C1 8A EA ...7..<.-.dl....
0010: D1 9B 0C 1B CB F4 CB 9E 99 37 BF AD BF 63 BC 13 .........7...c..
0020: 9C D5 07 AC 56 56 00 00 10 00 05 00 04 00 09 00 ....VV..........
0030: 0A 00 12 00 13 00 03 00 11 01 00 ...........
main, WRITE: SSL v3.1 Handshake, length = 59
[write] MD5 and SHA1 hashes: len = 77
0000: 01 03 01 00 24 00 00 00 20 00 00 05 00 00 04 01 ....$... .......
0010: 00 80 00 00 09 06 00 40 00 00 0A 07 00 C0 00 00 .......@........
0020: 12 00 00 13 00 00 03 02 00 80 00 00 11 3C 06 2D .............<.-
0030: 99 64 6C 9E C1 8A EA D1 9B 0C 1B CB F4 CB 9E 99 .dl.............
0040: 37 BF AD BF 63 BC 13 9C D5 07 AC 56 56 7...c......VV
main, WRITE: SSL v2, contentType = 22, translated length = 16310
In the begining of the message, it seems that the handshake use SSL v3.1 and it switch to SSL v2 in the end..
Will someone help me to resolve this problem?
thx in advance
Amine