Entrust Datacard

Entrust Certificate Services Support Knowledge Base

Last Modified: 2016-07-05 16:07:24.0

What are the steps to enable SSL on Tomcat (Keytool)?

Article Number: 46388


What are the steps to enable SSL on Tomcat (Keytool)?


Note – To enable SSL you must have a keystore with an existing SSL certificate installed in it.

1.    Open the server.xml file in a text editor.

2.    Remove the comment tags around the Connector entry, and set Connector Port to 443. Your server.xml should look like this:

<Connector port="443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile=”yourdomain.keystore" keypass="keystore_password" />

3.    Save the file and restart Tomcat.