Re: Problem with tomcat SSL / HTTPS not working.

2013-09-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Prashant,

On 9/11/13 9:07 AM, Prashant Shinde wrote:
> I am getting following error when I try with wget
> 
> OpenSSL: error:140770FC:SSL
> routines:SSL23_GET_SERVER_HELLO:unknown protocol Unable to
> establish SSL connection.

So, connecting with a web browser works but connecting with wget does not?

Please give exact URLs for both cases.

I don't see any evidence of this in your configuration, but it's
possible that you have only TLS enabled and not SSLv3, which would
cause SSL23_GET_SERVER_HELLO to fail.

What version of Tomcat are you using, and what version of Java?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSMIkFAAoJEBzwKT+lPKRYTvoQAMkhXxk4smUXkFK9ZTqOpxCZ
Ce+tVu5QTREoMmvNEFV2F7k3B8MAPzl6irk82nPe8JNOjSJVtZQrwyRusCefojfD
WEbBoIJLYpUksezflXJ08RAQF1cz5laAc8ASIyH1mvIC7XmTuKOcp/BlpGqMzJ9e
QPzrP8B2tiUQYwod9SVhAlKwmUKOUiYhht/9Lf8LaeD+Wvpg3bQ+czBPvhSnh5nl
8HgiKOI8efMI+sGlUdJ4aUls368dOzEUZ8trXOj/FdqLUV9R5OKvaza+Su+AMV7U
nB8a7VOT5b83xJOCC8TbzyM1Fg1aC3kplLuhIrM9EQQzWT+SOVs/0nyOCoAGSMJY
mVH53fswL4UkpgXlAYoCSo9RGSI1ae0RkAfBQzKcC0YQEEC3LUQ6XviQJLFZJqOS
eDnPamHINlw9Alx3uBYLGgJaMQZHM7iMSMnXWY1sliDEFOwaIIiCfvedPUjgKG0y
/aIBlW1qEEsnl0/36EpPlqmNfVT14pfkz0g9MHCsceK7RdJqmwfCygzbfhrH/v2H
yjXg8CKqvax/HQLz4pyxR26dKCYZyEQpqE+Um+VyNagxHw5J04rmGKhWK3mg8L81
heP8WzWBagnAmn6sATYAdS3OsnaRvwW6JYZMycyKhOvHiR+dvHRuISQSlRjBjm2i
i5tXQrgQ36Wb3MfG+lJe
=SeYy
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem with tomcat SSL / HTTPS not working.

2013-09-11 Thread André Warnier

Please do not "top post" (see Wikipedia, and the rules for this list)

Prashant Shinde wrote:
Hi 


We are accessing the URL as https://hostname.co.in:8443


That is for HTTPS (which is not working).
How do you access the same with HTTP (which you say is working) ?




Thanks & Regards,

Prashant Shinde
Senior Consultant
Hoonar Tekwurks Consulting LLP
email: prashant.shi...@hoonartek.com | cell: +91 98220 38097| desk: +91 20
4900 5204


-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: 11 September 2013 13:47

To: Tomcat Users List
Subject: Re: Problem with tomcat SSL / HTTPS not working.

Prashant Shinde wrote:

Hi

 

We are facing problem with Tomcat HTTPS. We are using Apache Tomcat 
Version 6.0.24.


 

Please find attached server.xml. When we access tomcat URL using https 
it says "Page not Found" and otherwise with just http it works fine.


 


Please let us know the possible solution.



How *exactly* are you accessing these URLs ?
Give us an example of the real URLs which you are using (change the hostname
if you want, but not the rest).



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem with tomcat SSL / HTTPS not working.

2013-09-11 Thread Sushil Prusty
HI Prasanth

For configuring https you have to create keystore in your java keytool and
that you need to coint in your server.xml file .
is it corrct one keystoreFile="/etc/tomcat6/.keystore" ? where is your
keystore password configuration ?


On Wed, Sep 11, 2013 at 6:37 PM, Prashant Shinde <
prashant.shi...@hoonartek.com> wrote:

> Hi
>
> I am getting following error when I try with wget
>
> OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
> protocol
> Unable to establish SSL connection.
>
>
>
> Thanks & Regards,
>
> Prashant Shinde
> Senior Consultant
> Hoonar Tekwurks Consulting LLP
> email: prashant.shi...@hoonartek.com | cell: +91 98220 38097| desk: +91 20
> 4900 5204
>
>
> -Original Message-
> From: Prashant Shinde [mailto:prashant.shi...@hoonartek.com]
> Sent: 11 September 2013 14:44
> To: 'Tomcat Users List'
> Subject: RE: Problem with tomcat SSL / HTTPS not working.
>
> Hi
>
> We are accessing the URL as https://hostname.co.in:8443
>
>
> Thanks & Regards,
>
> Prashant Shinde
> Senior Consultant
> Hoonar Tekwurks Consulting LLP
> email: prashant.shi...@hoonartek.com | cell: +91 98220 38097| desk: +91 20
> 4900 5204
>
>
> -----Original Message-----
> From: André Warnier [mailto:a...@ice-sa.com]
> Sent: 11 September 2013 13:47
> To: Tomcat Users List
> Subject: Re: Problem with tomcat SSL / HTTPS not working.
>
> Prashant Shinde wrote:
> > Hi
> >
> >
> >
> > We are facing problem with Tomcat HTTPS. We are using Apache Tomcat
> > Version 6.0.24.
> >
> >
> >
> > Please find attached server.xml. When we access tomcat URL using https
> > it says "Page not Found" and otherwise with just http it works fine.
> >
> >
> >
> > Please let us know the possible solution.
> >
>
> How *exactly* are you accessing these URLs ?
> Give us an example of the real URLs which you are using (change the
> hostname
> if you want, but not the rest).
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


RE: Problem with tomcat SSL / HTTPS not working.

2013-09-11 Thread Prashant Shinde
Hi 

I am getting following error when I try with wget

OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Unable to establish SSL connection.



Thanks & Regards,

Prashant Shinde
Senior Consultant
Hoonar Tekwurks Consulting LLP
email: prashant.shi...@hoonartek.com | cell: +91 98220 38097| desk: +91 20
4900 5204


-Original Message-
From: Prashant Shinde [mailto:prashant.shi...@hoonartek.com] 
Sent: 11 September 2013 14:44
To: 'Tomcat Users List'
Subject: RE: Problem with tomcat SSL / HTTPS not working.

Hi 

We are accessing the URL as https://hostname.co.in:8443


Thanks & Regards,

Prashant Shinde
Senior Consultant
Hoonar Tekwurks Consulting LLP
email: prashant.shi...@hoonartek.com | cell: +91 98220 38097| desk: +91 20
4900 5204


-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: 11 September 2013 13:47
To: Tomcat Users List
Subject: Re: Problem with tomcat SSL / HTTPS not working.

Prashant Shinde wrote:
> Hi
> 
>  
> 
> We are facing problem with Tomcat HTTPS. We are using Apache Tomcat 
> Version 6.0.24.
> 
>  
> 
> Please find attached server.xml. When we access tomcat URL using https 
> it says "Page not Found" and otherwise with just http it works fine.
> 
>  
> 
> Please let us know the possible solution.
> 

How *exactly* are you accessing these URLs ?
Give us an example of the real URLs which you are using (change the hostname
if you want, but not the rest).



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Problem with tomcat SSL / HTTPS not working.

2013-09-11 Thread Prashant Shinde
Hi 

We are accessing the URL as https://hostname.co.in:8443


Thanks & Regards,

Prashant Shinde
Senior Consultant
Hoonar Tekwurks Consulting LLP
email: prashant.shi...@hoonartek.com | cell: +91 98220 38097| desk: +91 20
4900 5204


-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: 11 September 2013 13:47
To: Tomcat Users List
Subject: Re: Problem with tomcat SSL / HTTPS not working.

Prashant Shinde wrote:
> Hi
> 
>  
> 
> We are facing problem with Tomcat HTTPS. We are using Apache Tomcat 
> Version 6.0.24.
> 
>  
> 
> Please find attached server.xml. When we access tomcat URL using https 
> it says "Page not Found" and otherwise with just http it works fine.
> 
>  
> 
> Please let us know the possible solution.
> 

How *exactly* are you accessing these URLs ?
Give us an example of the real URLs which you are using (change the hostname
if you want, but not the rest).



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem with tomcat SSL / HTTPS not working.

2013-09-11 Thread André Warnier

Prashant Shinde wrote:
Hi 

 


We are facing problem with Tomcat HTTPS. We are using Apache Tomcat Version
6.0.24.

 


Please find attached server.xml. When we access tomcat URL using https it
says "Page not Found" and otherwise with just http it works fine.

 


Please let us know the possible solution.



How *exactly* are you accessing these URLs ?
Give us an example of the real URLs which you are using (change the hostname if you want, 
but not the rest).




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem with tomcat SSL / HTTPS not working.

2013-09-11 Thread Konstantin Kolinko
2013/9/11 Prashant Shinde :
> Hi
>
>
>
> We are facing problem with Tomcat HTTPS. We are using Apache Tomcat Version
> 6.0.24.
>
>
>
> Please find attached server.xml. When we access tomcat URL using https it
> says “Page not Found” and otherwise with just http it works fine.
>
>
>
> Please let us know the possible solution.
>
>

1. As said "Please format your messages as plain text, not HTML. Do
not send attachments," ,
http://tomcat.apache.org/lists.html#tomcat-users

2. If Tomcat indeed responds with a "404 Page not found" page for an
HTTPS request, then the connector is working properly, as you can
access the server and server responds to you.

Thus the problem is with your web application (e.g. it has not
started, or there is no such page, or you are accessing a different
server).

Read the log files.

3. 6.0.24 is old,
http://tomcat.apache.org/security-6.html

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org