You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrey <da...@ml.lv> on 2005/04/13 19:14:13 UTC

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
dallas@ml.lv


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Re[2]: Tomcat/4.1.31 - SSL Troubles

Posted by Jason Bainbridge <jb...@gmail.com>.
On 4/13/05, Andrey <da...@ml.lv> 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 - webmaster@kde.org
Personal Site - http://jasonbainbridge.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re[2]: Tomcat/4.1.31 - SSL Troubles

Posted by Andrey <da...@ml.lv>.
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
dallas@ml.lv


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat/4.1.31 - SSL Troubles

Posted by Jason Bainbridge <jb...@gmail.com>.
On 4/13/05, Andrey <da...@ml.lv> 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 - webmaster@kde.org
Personal Site - http://jasonbainbridge.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re[2]: Tomcat/4.1.31 - SSL Troubles

Posted by Andrey <da...@ml.lv>.
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
dallas@ml.lv


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat/4.1.31 - SSL Troubles

Posted by Ben Kim <bk...@coe.tamu.edu>.
>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 A&M University


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org