After the keystore file has been created, configure the Apache Tomcat web server to use the file.
To configure Tomcat to use the keystore file:
Go to the conf directory in the Apache Tomcat installation directory. The following is the default location:
Linux:
/opt/tsq/Software/apache-tomcat/conf
Windows:
C:\Program Files\Trillium Software\MBSW\17\tsq\Software\apache-tomcat\conf
Open the server.xml file.
In the section
<Service name="Catalina">
, add the following section:
Note: Be sure to update the keystore path with the proper file
location.
<Connector SSLEnabled="true" acceptCount="100"
clientAuth="false"
disableUploadTimeout="true" enableLookups="false"
maxThreads="25"
port="443" keystoreFile="/home/username/.keystore"
keystorePass="mypassword
"protocol="org.apache.coyote.http11.Http11NioProtocol"
scheme="https"
secure="true" sslProtocol="TLS" />