Re: Re[9]: Tomcat/4.1.31 - SSL Troubles
On 4/14/05, Andrey [EMAIL PROTECTED] wrote: Hello, HTTPS: GET /application/index.html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101:8443 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101:8443/ Content-Length: 0 Date: Thu, 14 Apr 2005 09:17:36 GMT Server: Apache-Coyote/1.1 A few more things: Can you try accessing the server by it's name instead of IP? Also can you try with Firefox - http://getfirefox.com and if that works fine like I expect it will then install http://livehttpheaders.mozdev.org/ to get the same info you have above for MSIE. Plus what URL are you requesting to begin with and what does your connector in your server.xml (minus any passwords) look like? Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[8]: Tomcat/4.1.31 - SSL Troubles
Hello, Wednesday, April 13, 2005, 11:19:00 PM, you wrote: Well so far that is normal, what isn't normal is that the browser isn't sending another GET request for https://62.86.16.101/index.jsp what happens if you request that URL directly? Hang on you know what is happening? I bet HTTP/1.1 isn't enabled in the browser, I had the exact same problem the other day... Tools / Internet Options, Advanced, HTTP/1.1 Settings: enable both of those for some reason the Proxy one still seems to effect things even when you tell IE to not use the proxy for the site you are accessing. Regards, I can POST more... It's loop. .. if i use non-https connection all work fine. (https is configured on 443 port now .. no difference) GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/index.jsp Content-Length: 0 Date: Thu, 14 Apr 2005 06:42:27 GMT Server: Apache-Coyote/1.1 GET /index.jsp HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/ Content-Length: 0 Date: Thu, 14 Apr 2005 06:42:27 GMT Server: Apache-Coyote/1.1 GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/index.jsp Content-Length: 0 Date: Thu, 14 Apr 2005 06:42:27 GMT Server: Apache-Coyote/1.1 GET /index.jsp HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/ Content-Length: 0 Date: Thu, 14 Apr 2005 06:42:27 GMT Server: Apache-Coyote/1.1 GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/index.jsp Content-Length: 0 Date: Thu, 14 Apr 2005 06:42:27 GMT Server: Apache-Coyote/1.1 GET /index.jsp HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/ Content-Length: 0 Date: Thu, 14 Apr 2005 06:42:27 GMT Server: Apache-Coyote/1.1 -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[9]: Tomcat/4.1.31 - SSL Troubles
Hello, HTTPS: GET /application/index.html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101:8443 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101:8443/ Content-Length: 0 Date: Thu, 14 Apr 2005 09:17:36 GMT Server: Apache-Coyote/1.1 GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101:8443 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101:8443/index.jsp Content-Length: 0 Date: Thu, 14 Apr 2005 09:17:36 GMT Server: Apache-Coyote/1.1 GET /index.jsp HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101:8443 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101:8443/ Content-Length: 0 Date: Thu, 14 Apr 2005 09:17:36 GMT Server: Apache-Coyote/1.1 GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101:8443 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101:8443/index.jsp Content-Length: 0 Date: Thu, 14 Apr 2005 09:17:36 GMT Server: Apache-Coyote/1.1 and again and again.. -- But for HTTP: GET /application/index.html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101:8080 Connection: Keep-Alive HTTP/1.1 200 OK ETag: W/735-1088131466000 Last-Modified: Fri, 25 Jun 2004 02:44:26 GMT Content-Type: text/html Content-Length: 735 Date: Thu, 14 Apr 2005 09:33:40 GMT Server: Apache-Coyote/1.1 GET /application/subdirectory/main.html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Referer: http://62.86.16.101:8080/application/index.html Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101:8080 Connection: Keep-Alive HTTP/1.1 200 OK ETag: W/364-108813149 Last-Modified: Fri, 25 Jun 2004 02:44:50 GMT Content-Type: text/html Content-Length: 364 Date: Thu, 14 Apr 2005 09:33:40 GMT Server: Apache-Coyote/1.1 -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat/4.1.31 - SSL Troubles
Hello, (j2re1.4.1_02 is installed) I've created certificate keystore as described: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/ssl-howto.html then i uncommented Connector element for an SSL connector i server.xml. I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. No errors in log files. What should i check? .. -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/4.1.31 - SSL Troubles
On 4/13/05, Andrey [EMAIL PROTECTED] wrote: Hello, (j2re1.4.1_02 is installed) I've created certificate keystore as described: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/ssl-howto.html then i uncommented Connector element for an SSL connector i server.xml. I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Sounds like you are using Internet Explorer so the first step would be to disable Show friendly HTTP error messages and if you are using IE for any sort of web development testing that is one of the first things you should do: Tools / Internet Options, Advanced tab, then it is under the Browsing subheading. Then you can see the real error. Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: Tomcat/4.1.31 - SSL Troubles
Hello, Wednesday, April 13, 2005, 8:21:22 PM, you wrote: Sounds like you are using Internet Explorer so the first step would be to disable Show friendly HTTP error messages and if you are using IE for any sort of web development testing that is one of the first things you should do: Tools / Internet Options, Advanced tab, then it is under the Browsing subheading. Then you can see the real error. Regards, Same error.. and it looks like loop. -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/4.1.31 - SSL Troubles
I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Is the page OK on http then? - https://server.com:8443/app1/page1.jsp - http://server.com:8080/app1/page1.jsp Regards, Ben Kim Database Developer/Systems Administrator 434E Harrington Tower / College of Education Texas AM University - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: Tomcat/4.1.31 - SSL Troubles
Hello, Wednesday, April 13, 2005, 8:47:13 PM, you wrote: I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Is the page OK on http then? - https://server.com:8443/app1/page1.jsp - http://server.com:8080/app1/page1.jsp Yes. usual http works. -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re[2]: Tomcat/4.1.31 - SSL Troubles
I followed Tomcat directions and did not worked. I do find this and it worked, just go to http://galatea.com/flashguides/tomcat-ssl-5-unix Lorenzo -Original Message- From: Andrey [mailto:[EMAIL PROTECTED] Sent: Miércoles, 13 de Abril de 2005 11:53 a.m. To: Tomcat Users List Subject: Re[2]: Tomcat/4.1.31 - SSL Troubles Hello, Wednesday, April 13, 2005, 8:47:13 PM, you wrote: I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Is the page OK on http then? - https://server.com:8443/app1/page1.jsp - http://server.com:8080/app1/page1.jsp Yes. usual http works. -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Si usted no es el destinatario indicado en este mensaje o responsable como persona de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor notifique al correo [EMAIL PROTECTED] Para más referencia sobre términos importantes relacionados a este correo visite http://www.nacion.com/disclaimer/index_es2.htm If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or send this message to anyone, please notify to [EMAIL PROTECTED] Click here for important additional terms relating to this e-mail. http://www.nacion.com/disclaimer/index_en2.htm - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[4]: Tomcat/4.1.31 - SSL Troubles
Hello, Wednesday, April 13, 2005, 9:07:34 PM, you wrote: I followed Tomcat directions and did not worked. I do find this and it worked, just go to http://galatea.com/flashguides/tomcat-ssl-5-unix Lorenzo It's Windows. Sorry. -Original Message- From: Andrey [mailto:[EMAIL PROTECTED] Sent: Miércoles, 13 de Abril de 2005 11:53 a.m. To: Tomcat Users List Subject: Re[2]: Tomcat/4.1.31 - SSL Troubles Hello, Wednesday, April 13, 2005, 8:47:13 PM, you wrote: I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Is the page OK on http then? - https://server.com:8443/app1/page1.jsp - http://server.com:8080/app1/page1.jsp Yes. usual http works. -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[4]: Tomcat/4.1.31 - SSL Troubles
I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Just a basic guesswork... Assuming the code does not differentiate between ssl and non-ssl, could it be a browser specific problem? Also, can you see it from local machine, i.e. https://localhost:8443/...? Just my 2 pence... Regards, Ben Kim Database Developer/Systems Administrator 434E Harrington Tower / College of Education Texas AM University - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[2]: Tomcat/4.1.31 - SSL Troubles
On 4/13/05, Andrey [EMAIL PROTECTED] wrote: Hello, Wednesday, April 13, 2005, 8:21:22 PM, you wrote: Sounds like you are using Internet Explorer so the first step would be to disable Show friendly HTTP error messages and if you are using IE for any sort of web development testing that is one of the first things you should do: Tools / Internet Options, Advanced tab, then it is under the Browsing subheading. Then you can see the real error. Regards, Same error.. and it looks like loop. Do you have any other web servers running on the same machine? MSIE gets confused when you access say IIS on https://mymachine and then access Tomcat on http://mymachine:8443 and produces the behaviour you describe. Try installing iehttpheaders and monitor the requests and responses: http://www.blunck.info/iehttpheaders.html Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[6]: Tomcat/4.1.31 - SSL Troubles
Hello, Wednesday, April 13, 2005, 10:17:42 PM, you wrote: I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Just a basic guesswork... Assuming the code does not differentiate between ssl and non-ssl, could it be a browser specific problem? Also, can you see it from local machine, i.e. https://localhost:8443/...? Just my 2 pence... No difference between local/remote. I don't think it's network/browser related problem. Thanks to Jason.. GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/index.jsp Content-Length: 0 Date: Wed, 13 Apr 2005 19:38:50 GMT Server: Apache-Coyote/1.1 What can i do ? :) -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[6]: Tomcat/4.1.31 - SSL Troubles
On 4/13/05, Andrey [EMAIL PROTECTED] wrote: GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/index.jsp Content-Length: 0 Date: Wed, 13 Apr 2005 19:38:50 GMT Server: Apache-Coyote/1.1 Well so far that is normal, what isn't normal is that the browser isn't sending another GET request for https://62.86.16.101/index.jsp what happens if you request that URL directly? Hang on you know what is happening? I bet HTTP/1.1 isn't enabled in the browser, I had the exact same problem the other day... Tools / Internet Options, Advanced, HTTP/1.1 Settings: enable both of those for some reason the Proxy one still seems to effect things even when you tell IE to not use the proxy for the site you are accessing. Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[6]: Tomcat/4.1.31 - SSL Troubles
Andrey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Wednesday, April 13, 2005, 10:17:42 PM, you wrote: I can connect to ssl port ... and i can see sertificate.. but when i accept this sertificate my browser says The page cannot be displayed. Just a basic guesswork... Assuming the code does not differentiate between ssl and non-ssl, could it be a browser specific problem? Also, can you see it from local machine, i.e. https://localhost:8443/...? Just my 2 pence... No difference between local/remote. I don't think it's network/browser related problem. Thanks to Jason.. GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: lv Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Host: 62.86.16.101 Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Location: https://62.86.16.101/index.jsp Content-Length: 0 Date: Wed, 13 Apr 2005 19:38:50 GMT Server: Apache-Coyote/1.1 What can i do ? :) MSIE is sending the wrong Host header (it's known to do that :), so the Location is bad on the response (it's asking MSIE to connect to port 443). What you can do is: 1) Use FireFox. 2) Configure the connector to run on the default port of 443. 3) Get MS to fix their browser. -- Best regards, Andrey [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]