tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BJ Selman <bjsel...@travelhost.com>
Subject Apache HTTPS doesn't work - redirects back to HTTP
Date Mon, 22 Jun 2009 20:29:12 GMT
I have tried to follow the myriad of procedures outlined on this, but I am just not seasoned
enough.....

I have created a self-signed certificate on a test server (2k8std-a) with a CN of 2k8std-a.
 Should the CN be 172.17.2.238 since that is what my host name is "named" ?

Whenever I browse to https://2k8std-a<https://2k8std-a/>, it redirects me to http://2k8std-a/jsp/login.jsp
and while on any page, if I manually type an "s" after the http and hit Enter, then it just
takes it back to http without any pop-up or nothing.  I've attached my httpd.conf and ssl.conf
for reference, as well as the ssl_request, transfer and error logs.

Please help!!  I'm at my wits end pulling all my hair out.

Here is the output I'm getting in the error.log that might be of interest:

[debug] ssl_engine_kernel.c(1752): OpenSSL: Handshake: start
[debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: before/accept initialization
[debug] ssl_engine_io.c(1817): OpenSSL: read 11/11 bytes from BIO#%p [mem: %p] \xa0\x11\xd2o
[debug] ssl_engine_io.c(1750): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1789): | 0000: 16 03 01 00 61 01 00 00-5d 03 01                 ....a...]..
     |
[debug] ssl_engine_io.c(1795): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1817): OpenSSL: read 91/91 bytes from BIO#%p [mem: %p] \xa0\x11\xd2o
[debug] ssl_engine_io.c(1750): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1789): | 0000: 4a 3b b2 92 f6 cc f5 df-ab 9d 2b 2a 09 b6 79 1d  J;........+*..y.
|
[debug] ssl_engine_io.c(1789): | 0010: 52 70 37 bf 51 a5 92 a0-56 14 5d c9 bb de 9a 63  Rp7.Q...V.]....c
|
[debug] ssl_engine_io.c(1789): | 0020: 20 84 ee 21 3b 8f 0a f1-e6 a4 9e ba 1f a9 aa e8   ..!;...........
|
[debug] ssl_engine_io.c(1789): | 0030: 03 33 81 ea 40 23 73 ac-26 01 bf 55 9e e6 7e 7c  .3..@#s.&..U..~|
|
[debug] ssl_engine_io.c(1789): | 0040: 51 00 16 00 04 00 05 00-0a 00 09 00 64 00 62 00  Q...........d.b.
|
[debug] ssl_engine_io.c(1789): | 0050: 03 00 06 00 13 00 12 00-63 01                    ........c.
      |
[debug] ssl_engine_io.c(1793): | 0091 - <SPACES/NULS>
[debug] ssl_engine_io.c(1795): +-------------------------------------------------------------------------+
[debug] ssl_scache_shmcb.c(393): ssl_scache_shmcb_retrieve (0x84 -> subcache 4)
[debug] ssl_scache_shmcb.c(680): possible match at idx=0, data=0
[debug] ssl_scache_shmcb.c(697): shmcb_subcache_retrieve returning matching session
[debug] ssl_scache_shmcb.c(408): leaving ssl_scache_shmcb_retrieve successfully
[debug] ssl_engine_kernel.c(1598): Inter-Process Session Cache: request=GET status=FOUND id=84EE213B8F0AF1E6A49EBA1FA9AAE8033381EA402373AC2601BF559EE67E7C51
(session reuse)
[debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 read client hello A
[debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write server hello A
[debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write change cipher spec A
[debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write finished A
[debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 flush data
[debug] ssl_engine_io.c(1817): OpenSSL: read 5/5 bytes from BIO#%p [mem: %p] \xa0\x11\xd2o
[debug] ssl_engine_io.c(1750): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1789): | 0000: 14 03 01 00 01                                   .....
           |
[debug] ssl_engine_io.c(1795): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1817): OpenSSL: read 1/1 bytes from BIO#%p [mem: %p] \xa0\x11\xd2o
[debug] ssl_engine_io.c(1750): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1789): | 0000: 01                                               .
               |
[debug] ssl_engine_io.c(1795): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1817): OpenSSL: read 5/5 bytes from BIO#%p [mem: %p] \xa0\x11\xd2o
[debug] ssl_engine_io.c(1750): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1789): | 0000: 16 03 01                                         ...
             |
[debug] ssl_engine_io.c(1793): | 0005 - <SPACES/NULS>
[debug] ssl_engine_io.c(1795): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1817): OpenSSL: read 32/32 bytes from BIO#%p [mem: %p] \xa0\x11\xd2o
[debug] ssl_engine_io.c(1750): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1789): | 0000: 05 8f 21 33 00 90 8f 9d-f1 23 72 be f1 2b 4e a7  ..!3.....#r..+N.
|
[debug] ssl_engine_io.c(1789): | 0010: f9 b5 77 b3 68 bd f8 9d-9e f2 93 74 be 91 e9 e9  ..w.h......t....
|
[debug] ssl_engine_io.c(1795): +-------------------------------------------------------------------------+
[debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 read finished A
[debug] ssl_engine_kernel.c(1756): OpenSSL: Handshake: done
[info] Connection: Client IP: 172.17.2.31, Protocol: TLSv1, Cipher: RC4-MD5 (128/128 bits)
[debug] ssl_engine_io.c(1817): OpenSSL: read 5/5 bytes from BIO#%p [mem: %p] \xa0\x11\xd2o
[debug] ssl_engine_io.c(1750): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1789): | 0000: 17 03 01 02 73                                   ....s
           |
[debug] ssl_engine_io.c(1795): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1817): OpenSSL: read 627/627 bytes from BIO#%p [mem: %p] \xa0\x11\xd2o
[debug] ssl_engine_io.c(1750): +-------------------------------------------------------------------------+
[debug] ssl_engine_io.c(1789): | 0000: 51 63 ab ea 7d 97 bf 27-77 34 d9 11 9a 43 f7 cb  Qc..}..'w4...C..
|
[debug] ssl_engine_io.c(1789): | 0010: 7b a3 97 87 ae 9d 5b 88-4a 55 02 7d 4c cf 71 4c  {.....[.JU.}L.qL
|
[debug] ssl_engine_io.c(1789): | 0020: 3f 94 bd 99 e1 09 d9 37-04 a5 44 08 21 9f fd c6  ?......7..D.!...
|
[debug] ssl_engine_io.c(1789): | 0030: 01 de 8c a2 18 50 31 78-1a e5 44 4d e9 e6 aa ab  .....P1x..DM....
|
[debug] ssl_engine_io.c(1789): | 0040: 8e f9 41 12 3e 04 1e 4f-58 0f 3e b2 91 9d 14 0c  ..A.>..OX.>.....
|
[debug] ssl_engine_io.c(1789): | 0050: 2e 91 a9 62 af 6a ee 04-67 39 14 4a 0e 7a 13 fe  ...b.j..g9.J.z..
|
[debug] ssl_engine_io.c(1789): | 0060: 46 f1 dd 6d 15 6d f9 2d-df 8e 57 6d c3 50 97 f8  F..m.m.-..Wm.P..
|
[debug] ssl_engine_io.c(1789): | 0070: 5e fd 89 4b de df 14 e8-58 82 9b 08 8a e0 d7 bd  ^..K....X.......
|
[debug] ssl_engine_io.c(1789): | 0080: 0d 42 20 08 2f 5c 64 91-5c f3 f7 39 e7 a2 c0 aa  .B
./\\d.\\..9.... |
[debug] ssl_engine_io.c(1789): | 0090: 92 c7 9a f1 51 78 99 4a-dc be fe bf 25 bc f3 0c  ....Qx.J....%...
|
[debug] ssl_engine_io.c(1789): | 00a0: 29 4c d2 7b b5 9c 17 72-51 56 52 3e f0 0b 68 d0  )L.{...rQVR>..h.
|
[debug] ssl_engine_io.c(1789): | 00b0: e3 b6 04 1f 52 68 9f 51-30 8e 76 ce 06 ce 02 c6  ....Rh.Q0.v.....
|
[debug] ssl_engine_io.c(1789): | 00c0: 6c 2d 58 f5 28 71 16 42-e6 aa df 04 fe db 0b 9f  l-X.(q.B........
|
[debug] ssl_engine_io.c(1789): | 00d0: b5 d8 e1 63 72 0b 8c eb-95 80 2e 8c 31 76 ec 03  ...cr.......1v..
|
[debug] ssl_engine_io.c(1789): | 00e0: 46 85 4f 77 d2 b3 ed c1-fe 50 91 a4 89 75 29 4e  F.Ow.....P...u)N
|
[debug] ssl_engine_io.c(1789): | 00f0: dd ba f2 af de 0a 11 58-78 8b 09 9b 4b a7 0a 75  .......Xx...K..u
|
[debug] ssl_engine_io.c(1789): | 0100: 79 8b 7f 2c aa a8 a8 66-19 91 27 c0 58 13 ea 2c  y..,...f..'.X..,
|
[debug] ssl_engine_io.c(1789): | 0110: 2c 36 e0 95 3c 45 13 fc-52 4f 96 90 ea 44 8a 5d  ,6..<E..RO...D.]
|
[debug] ssl_engine_io.c(1789): | 0120: 70 06 5a 50 54 f2 91 d5-af 00 18 51 7d 1a 6c 78  p.ZPT......Q}.lx
|
[debug] ssl_engine_io.c(1789): | 0130: 67 a3 ea a6 d8 8d 97 99-ef 4c 32 a6 73 28 ed c9  g........L2.s(..
|
[debug] ssl_engine_io.c(1789): | 0140: 70 f0 88 08 21 ae e9 4a-52 b3 ee 0f da 4e 1c fe  p...!..JR....N..
|
[debug] ssl_engine_io.c(1789): | 0150: f2 a9 4e c3 2a 66 e4 f4-61 ba cf 65 c8 34 42 12  ..N.*f..a..e.4B.
|
[debug] ssl_engine_io.c(1789): | 0160: 16 e2 90 1a 65 77 40 86-45 95 2f 46 36 e4 ad 68  ....ew@.E./F6..h
|
[debug] ssl_engine_io.c(1789): | 0170: 73 02 2e c1 bf ae 4e 3e-54 97 b7 9a 45 59 0a 72  s.....N>T...EY.r
|
[debug] ssl_engine_io.c(1789): | 0180: 64 15 c1 58 22 ec 1b 90-cb 79 a7 87 ed e2 f4 f1  d..X"....y......
|
[debug] ssl_engine_io.c(1789): | 0190: a1 8b b3 b1 28 1a 69 2c-9a b2 a6 5a 7e 4f 48 4a  ....(.i,...Z~OHJ
|
[debug] ssl_engine_io.c(1789): | 01a0: 04 53 14 30 36 3e 21 72-51 bb 66 f7 ce f1 f1 ab  .S.06>!rQ.f.....
|
[debug] ssl_engine_io.c(1789): | 01b0: ca 5f 3e f9 aa 82 dc 14-32 f0 50 7f 21 c4 40 d4  ._>.....2.P.!.@.
|
[debug] ssl_engine_io.c(1789): | 01c0: 3b 92 a8 6a 5e e1 96 88-12 6d 93 c7 7c 6d 57 42  ;..j^....m..|mWB
|
[debug] ssl_engine_io.c(1789): | 01d0: 4a 46 53 55 61 c5 e0 65-db eb be 4d 98 90 e2 01  JFSUa..e...M....
|
[debug] ssl_engine_io.c(1789): | 01e0: 8e 56 06 dc 8e 5f 9f 84-c8 a8 23 1e 31 c1 8d d4  .V..._....#.1...
|
[debug] ssl_engine_io.c(1789): | 01f0: 3f d5 c0 6e 7d 58 4e cd-c8 20 75 0e 39 6e 36 0e  ?..n}XN..
u.9n6. |
[debug] ssl_engine_io.c(1789): | 0200: 2c c2 d9 8a b2 f8 3f 9b-64 85 10 58 54 d6 8c 0c  ,.....?.d..XT...
|
[debug] ssl_engine_io.c(1789): | 0210: 84 98 f5 bf e3 06 89 07-ce d1 8c 61 a9 4a 2a cb  ...........a.J*.
|
[debug] ssl_engine_io.c(1789): | 0220: 35 fa 55 a6 30 94 bb 33-c1 f5 a3 63 9b c8 8d 8d  5.U.0..3...c....
|
[debug] ssl_engine_io.c(1789): | 0230: 6d c3 35 ae 35 bc 24 20-cb ed 95 b9 71 02 47 65  m.5.5.$
....q.Ge |
[debug] ssl_engine_io.c(1789): | 0240: 2e b1 4d 9c b5 1e 9e 45-dc 5d 3c 0e 38 6e 29 73  ..M....E.]<.8n)s
|
[debug] ssl_engine_io.c(1789): | 0250: 4e 07 74 6a e5 fe 86 1e-5c 82 5f 17 31 e6 24 61  N.tj....\\._.1.$a
|
[debug] ssl_engine_io.c(1789): | 0260: 22 4d 34 ad 6e 1b 88 fa-5d ac 30 57 bf d1 2d a5  "M4.n...].0W..-.
|
[debug] ssl_engine_io.c(1789): | 0270: e2 ac f7                                         ...
             |
[debug] ssl_engine_io.c(1795): +-------------------------------------------------------------------------+
[info] Initial (No.1) HTTPS request received for child 57 (server 2k8std-a:443)
[debug] ssl_engine_io.c(1828): OpenSSL: I/O error, 5 bytes expected to read on BIO#%p [mem:
%p]
[info] [client 172.17.2.31] (70014)End of file found: SSL input filter read failed.
[debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
[info] [client 172.17.2.31] Connection closed to child 57 with standard shutdown (server 2k8std-a:443)



Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message