Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Problem in configuring SSL in Tomcat5.5

Thread view: 
mineshdesai@gmail.com - 21 Mar 2007 06:23 GMT
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
Lew - 21 Mar 2007 13:36 GMT
> ... J2sdk5 ...

JDK 5.

-- Lew
Arne Vajhøj - 22 Mar 2007 00:17 GMT
>  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
[quoted text clipped - 24 lines]
>
> 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
mineshdesai@gmail.com - 22 Mar 2007 16:18 GMT
> mineshde...@gmail.com wrote:
> >  I have Tomcat5.5 and J2sdk5 installed on my system. I wanted turn on
[quoted text clipped - 33 lines]
>
> - 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.