Hi Friends, I'm new to this list. Since many days I have been trying to configure Apache-tomcat with mod_ssl but something or the other goes haywire. I work on Solaris SPARC box. Tomcat: 6.0 Apache: 2.2.8 mod_jk_connector: 1.2.26 OpenSSL: 10.9.8g JDK: 1.5.0 Our client application sends ssl request to Apache web server which again forwards to Tomcat for serving the servlet request. However, IO Exception occurs everytime the request is sent. I have been able to set configurations for apache - tomcat connectors successfully since servlet/jsp examples are working perfectly in IE browser. Following is the error_log dump: [Tue Mar 18 09:59:27 2008] [debug] ssl_scache_shmcb.c(1195): entering shmcb_lookup_session_id [Tue Mar 18 09:59:27 2008] [debug] ssl_scache_shmcb.c(983): entering shmcb_expire_division [Tue Mar 18 09:59:27 2008] [debug] ssl_scache_shmcb.c(1205): loop=0, count=1, curr_pos=0 [Tue Mar 18 09:59:27 2008] [debug] ssl_scache_shmcb.c(1209): idx->s_id2=207, id[1]=207, offset=0 [Tue Mar 18 09:59:27 2008] [debug] ssl_scache_shmcb.c(1226): at index 0, found possible session match [Tue Mar 18 09:59:27 2008] [debug] ssl_scache_shmcb.c(1245): a match! [Tue Mar 18 09:59:27 2008] [debug] ssl_scache_shmcb.c(748): leaving shmcb_retrieve_session [Tue Mar 18 09:59:27 2008] [debug] ssl_scache_shmcb.c(435): shmcb_retrieve had a hit [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_kernel.c(1598): Inter-Process Session Cache: request=GET status=FOUND id=0DCF8C2DA86E96FD16D1CFF991B7864767C94B0960DAE767C1D9DADE4CDEF5E9 (session reuse) [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 read client hello A [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write server hello A [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write change cipher spec A [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write finished A [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 flush data [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read 5/5 bytes from BIO#3272e8 [mem: 336cd0] (BIO dump follows) [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1750): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1789): | 0000: 14 03 00 00 01 ..... | [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1795): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read 1/1 bytes from BIO#3272e8 [mem: 336cd5] (BIO dump follows) [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1750): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1789): | 0000: 01 . | [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1795): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read 5/5 bytes from BIO#3272e8 [mem: 336cd0] (BIO dump follows) [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1750): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1789): | 0000: 16 03 00 00 38 ....8 | [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1795): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read 56/56 bytes from BIO#3272e8 [mem: 336cd5] (BIO dump follows) [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1750): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1789): | 0000: 62 f3 f0 2e 6f bb 2a 1c-16 50 2f 3b 31 32 e0 68 b...o.*..P/;12.h | [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1789): | 0010: 58 cf 5b b3 e5 b4 ef cc-ca c3 0e 18 cb 4a 36 89 X.[..........J6. | [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1789): | 0020: fa 57 0e 04 5d 6b ba 51-4b 17 b8 0e b2 8c f0 12 .W..]k.QK....... | [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1789): | 0030: 05 4c f2 e7 46 f9 3f ac- .L..F.?. | [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_io.c(1795): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 read finished A [Tue Mar 18 09:59:27 2008] [debug] ssl_engine_kernel.c(1756): OpenSSL: Handshake: done [Tue Mar 18 09:59:27 2008] [info] Connection: Client IP: 172.16.4.84, Protocol: SSLv3, Cipher: RC4-MD5 (128/128 bits) [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read 5/5 bytes from BIO#3272e8 [mem: 336cd0] (BIO dump follows) [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1750): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0000: 17 03 00 01 fd ..... | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1795): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read 509/509 bytes from BIO#3272e8 [mem: 336cd5] (BIO dump follows) [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1750): +----------------------------------------------------------------------- --+ [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0000: 93 29 67 4c cc 69 a8 33-47 a2 a1 ca 8a e7 20 c6 .)gL.i.3G..... . | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0010: e2 b8 00 54 e1 2d eb 2b-e3 b9 63 71 2f 4e f1 47 ...T.-.+..cq/N.G | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0020: 85 a4 8a fd 8a bf ba e0-75 90 e8 65 20 d5 d6 3e ........u..e ..> | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0030: 8d 58 81 ff 9c 14 5e ee-e3 b7 32 5f 90 ec b9 17 .X....^...2_.... | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0040: b8 4c e1 24 d4 d5 70 ba-f3 46 d8 11 6b b1 11 ba .L.$..p..F..k... | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0050: b3 2d 59 a1 9c 14 c3 dc-b0 47 17 78 fc 4b 6e d9 .-Y......G.x.Kn. | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0060: bf 2b a7 c0 27 23 47 f9-99 b6 85 2c c2 fe 93 a3 .+..'#G....,.... | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0070: d7 7c e9 ff 7f 0c 69 d4-cb 92 ef 9a bc e7 35 c1 .|....i.......5. | [Tue Mar 18 09:59:28 2008] [debug] ssl_engine_io.c(1789): | 0080: 4b e2 e0 7a b4 6e fd 5c-f8 e0 21 4d c7 ae 21 72 [Tue Mar 18 10:22:52 2008] [debug] ssl_engine_io.c(1789): | 0330: bd dd b4 6e ed 89 55 ee-a4 60 4e e5 7e 54 53 d4 ...n..U..`N.~TS. | [Tue Mar 18 10:22:52 2008] [debug] ssl_engine_io.c(1789): | 0340: dd a1 84 e9 7d bc 2f 90-f8 7c d9 0b 9d 64 48 ab ....}./..|...dH. | [Tue Mar 18 10:22:52 2008] [debug] ssl_engine_io.c(1789): | 0350: 20 a3 19 2d f4 1b e8 1d-08 f1 20 b8 bb 93 a3 d5 ..-...... ..... | [Tue Mar 18 10:22:52 2008] [debug] ssl_engine_io.c(1789): | 0360: c4 c4 d3 bb f1 cd ec 1b-c4 0c 71 20 15 83 44 9c ..........q ..D. | [Tue Mar 18 10:22:52 2008] [debug] ssl_engine_io.c(1789): | 0370: fd 0e 02 f5 56 29 e9 f0-b7 d8 5a db dd 63 b5 32 ....V)....Z..c.2 | [Tue Mar 18 10:22:52 2008] [debug] ssl_engine_io.c(1795): +----------------------------------------------------------------------- --+ [Tue Mar 18 10:22:52 2008] [debug] ssl_engine_io.c(1828): OpenSSL: I/O error, 5 bytes expected to read on BIO#327240 [mem: 336cd0] [Tue Mar 18 10:22:52 2008] [info] [client 172.16.4.84] (131)Connection reset by peer: SSL input filter read failed. [Tue Mar 18 10:22:52 2008] [info] [client 172.16.4.84] (32)Broken pipe: core_output_filter: writing data to the network [Tue Mar 18 10:22:52 2008] [info] [client 172.16.4.84] (32)Broken pipe: core_output_filter: writing data to the network [Tue Mar 18 10:22:52 2008] [info] [client 172.16.4.84] (32)Broken pipe: core_output_filter: writing data to the network [Tue Mar 18 10:22:52 2008] [info] [client 172.16.4.84] (32)Broken pipe: core_output_filter: writing data to the network [Tue Mar 18 10:22:52 2008] [info] [client 172.16.4.84] Connection closed to child 2 with standard shutdown (server download.ipolicynetworks.com:8443) Kindly, throw some light on this. Its really urgent. Thanks & Regards Vidushi
"DISCLAIMER: This message is proprietary to iPolicy Networks Limited and is intended solely for the use of the individuals to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. iPolicy Networks Limited accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
