You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Ramamoorthy, Saku" <Sa...@oliverwyman.com> on 2009/03/23 19:55:49 UTC

Tomcat SSL

Hello,

   I am trying to enable SSL in the test server. I have followed the SSL
- Howto documentation and created the keystore file and modified
server.xml (please see below) connector for SSL. When I try to access
using https, the application times out after a while. There are no
errors in the log. 

Windows OS : Windows Server 2003 R2 Standard Edition
JDK Version: 1.5.0.16
Tomcat: 5.5.27
 
Any ideas why SSL is not working?

Thanks,
Saku


<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
port="80"               maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" redirectPort="443"
acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout
value
     to 0 -->
	
	<!-- Note : To use gzip compression you could set the following
properties :
	
			   compression="on" 
			   compressionMinSize="2048" 
			   noCompressionUserAgents="gozilla, traviata" 
			   compressableMimeType="text/html,text/xml"
	-->

    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <Connector port="443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false"
keystoreFile="D:\Java\Tomcat5_5_27\webapps\ROOT\KeyStore\.keystore"
keystorePass="DevPass" sslProtocol="TLS" />
---------------------------------------------------------------------------- 
This e-mail and any attachments may be confidential or legally privileged.  If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein.  Please inform us of the erroneous delivery by return e-mail. 

Thank you for your cooperation.
---------------------------------------------------------------------------- 


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


RE: Tomcat SSL

Posted by "Ramamoorthy, Saku" <Sa...@oliverwyman.com>.
I had APR installed. Thanks for the insight. 


Saku

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Monday, March 23, 2009 3:14 PM
To: Tomcat Users List
Subject: RE: Tomcat SSL

> From: Ramamoorthy, Saku [mailto:Saku.Ramamoorthy@oliverwyman.com]
> Subject: Tomcat SSL
> 
> Any ideas why SSL is not working?

Do you have APR installed?  (Check for tcnative-1.dll in Tomcat's bin
directory.)  If so, the SSL config is completely different:
http://tomcat.apache.org/tomcat-6.0-doc/apr.html#HTTPS

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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

---------------------------------------------------------------------------- 
This e-mail and any attachments may be confidential or legally privileged.  If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein.  Please inform us of the erroneous delivery by return e-mail. 

Thank you for your cooperation.
---------------------------------------------------------------------------- 


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


RE: Tomcat SSL

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ramamoorthy, Saku [mailto:Saku.Ramamoorthy@oliverwyman.com] 
> Subject: Tomcat SSL
> 
> Any ideas why SSL is not working?

Do you have APR installed?  (Check for tcnative-1.dll in Tomcat's bin directory.)  If so, the SSL config is completely different:
http://tomcat.apache.org/tomcat-6.0-doc/apr.html#HTTPS

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

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