Hari,

You'll probably want to edit Tomcat's server.xml and add/modify a couple
Connector  specifications inside the Service spec, such as the following.
(Now, I'm using Tomcat 4.0.6 with JBoss 3.0.4, so for me this file is actually
the $JBOSS_HOME/server/default/deploy/tomcat4-service.xml file.)   You'll
probably want to get the documentation and more help on the Apache Jakarta
website and the JBoss website for stuff like this.   Note that you could change
all the port 8080's to 80 and the port 8433's to 443, but then you'll need to
run Tomcat as root.   For myself, I prefer to use the JK2 connector with
Apache2.40+ and keep Tomcat  (and apps like it) away from listening on ports on
any interface other than localhost.   Security patches for Apache come out
quicker than for the other stuff.....

            <!-- A HTTP Connector on port 8080 -->
            <Connector className =
"org.apache.catalina.connector.http.HttpConnector"
               port = "8080" redirectPort="8443" minProcessors = "3"
maxProcessors = "10" enableLookups = "true"
               acceptCount = "10" debug = "0" connectionTimeout = "60000" />

            <!-- SSL/TLS Connector configuration using the SSL domain keystore
-->
            <Connector
className="org.apache.catalina.connector.http.HttpConnector"
               port="8443" scheme="https" secure="true">
              <Factory
className="org.jboss.web.catalina.security.SSLServerSocketFactory"
                securityDomainName="java:/jaas/TomcatSSL" clientAuth="false"
                protocol = "TLS"/>
            </Connector>


Hope this helps.
r,
Lance

Manoj Kithany wrote:

> Hi Experts:
>
> My Apache+SSL is working now - thanks to you all. I checked it using
> https://www.hari.com.
>
> However, I have a small Application which contains JSP+Servlets which calls
> Oracle DB via JDBC. This application is working fine when I type
> http://www.hari.com:8080/hari/index.jsp but when I try HTTPS as
> https://www.hari.com:8080/hari/index.jsp it does'nt work - ie page does'nt
> shows up.
>
> I know that HTTPS listens to port 443 and my Application(Tomcat+JBoss)
> listens to port 8080 - so how do I integrate both the ports to work
> together? Any useful information on above is appreciated.
>
> THANKS!
>
> HARI
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to