tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Cohen (ETL)" <michael.co...@etl.ericsson.se>
Subject SSLSocket in servlet not reading
Date Tue, 12 Dec 2000 10:44:02 GMT

Hi,

I'm trying to establish an ssl connection from a servlet to a server.

Running with the system property javax.net.debug=ssl and comparing the 
output with a standalone program where the handshake is completed successfully
indicates that the servlet stops dead (literally) at the point at which it has to make
its first read from the socket.

The client cert key is found and the server cert (in the JKS truststore) is also found
and trusted. After adding the truststore cert the debug spits out the following, which is
identical to the output from the standalone program except in the latter case the output continues
with a READ: statement and so on...

Any clues?

Mike C.

trigger seeding of SecureRandom
done seeding SecureRandom
%% No cached client session
*** ClientHello, v3.1
RandomCookie:  GMT: 976551787 bytes = { 98, 223, 242, 141, 39, 130, 138, 113, 232, 130, 175,
153, 80, 172, 193, 175, 25, 156, 97, 193, 164, 156, 82, 47, 227, 170, 209, 254 }
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 3A 35   FF 6B 62 DF F2 8D 27 82  ...7..:5.kb...'.
0010: 8A 71 E8 82 AF 99 50 AC   C1 AF 19 9C 61 C1 A4 9C  .q....P.....a...
0020: 52 2F E3 AA D1 FE 00 00   10 00 05 00 04 00 09 00  R/..............
0030: 0A 00 12 00 13 00 03 00   11 01 00                 ...........
Thread-32, 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 3A 35 FF  .............:5.
0030: 6B 62 DF F2 8D 27 82 8A   71 E8 82 AF 99 50 AC C1  kb...'..q....P..
0040: AF 19 9C 61 C1 A4 9C 52   2F E3 AA D1 FE           ...a...R/....
Thread-32, WRITE:  SSL v2, contentType = 22, translated length = 16310

Mime
View raw message