Problem in configuring SSL in Tomcat5.5

M

mineshdesai

Hi,

I have Tomcat5.5 and J2sdk5 installed on my system. I wanted turn on
SSL services in tomcat. I went through the Tomcat Documentation and
did it exactly. I modified server.xml as below,

<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->

<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />

I also created certificate using keytool with default password as
"changeit" and alias as "tomcat".

I restarted the tomcat services too, and then tried to access the page
but i am not able to access it using https connection. Where as i am
able to access same page using Http connection.

Secondly, I am not able to access default tomcat Page too using Https
connection. Everything works fine in case of HTTP connection.

Following is the way iam trying to acces the page,

https://localhost:8443

Can any one help me out to find the problem.
I have IE 6 with SP2 installed on my system.

Thanks
Minesh
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

I have Tomcat5.5 and J2sdk5 installed on my system. I wanted turn on
SSL services in tomcat. I went through the Tomcat Documentation and
did it exactly. I modified server.xml as below,

<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->

<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />

I also created certificate using keytool with default password as
"changeit" and alias as "tomcat".

I restarted the tomcat services too, and then tried to access the page
but i am not able to access it using https connection. Where as i am
able to access same page using Http connection.

Secondly, I am not able to access default tomcat Page too using Https
connection. Everything works fine in case of HTTP connection.

Following is the way iam trying to acces the page,

https://localhost:8443

Can any one help me out to find the problem.

Any error messages on the server ?

Is port 8443 in use after ? And was it not in use before ?

Arne
 
M

mineshdesai

Any error messages on the server ?

Is port 8443 in use after ? And was it not in use before ?

Arne- Hide quoted text -

- Show quoted text -

following is the log file

Mar 22, 2007 8:47:26 PM org.apache.coyote.http11.Http11AprProtocol
init
INFO: Initializing Coyote HTTP/1.1 on http-8090
Mar 22, 2007 8:47:26 PM org.apache.coyote.http11.Http11AprProtocol
init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Mar 22, 2007 8:47:26 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Mar 22, 2007 8:47:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 938 ms
Mar 22, 2007 8:47:27 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 22, 2007 8:47:27 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Mar 22, 2007 8:47:27 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 22, 2007 8:47:28 PM org.apache.coyote.http11.Http11AprProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8090
Mar 22, 2007 8:47:28 PM org.apache.coyote.http11.Http11AprProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8443
Mar 22, 2007 8:47:28 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Mar 22, 2007 8:47:28 PM org.apache.catalina.storeconfig.StoreLoader
load
INFO: Find registry server-registry.xml at classpath resource
Mar 22, 2007 8:47:28 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1718 ms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top