Personal tools

6.2. Tomcat

Up one level
General instructions for configuring HTTPS in Tomcat

For full details, see http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html.

Edit your Tomcat's conf/server.xml and add the following section (or uncomment and edit the existing one):

<Connector port="8443"
		keystoreFile="/your/location/here/service-keystore.ks"
		keystorePass="your_keystore_password"
		keystoreType="JKS"
		minProcessors="5" maxProcessors="75"
		enableLookups="true" disableUploadTimeout="true"
		acceptCount="100" debug="0" scheme="https" secure="true"
		clientAuth="false" sslProtocol="TLS"/>

Then restart Tomcat.