Securing the Apache Tomcat Service is outside the scope of the Protocol Gateway application. However, here are some recommended steps to secure the Tomcat service: Open the file <CATALINA_BASE>\conf\server.xml for editing, where <CATALINA_BASE> is the Tomcat installation path. In the Connector section, do the following updates: Set protocols to include only TLSv1.3 and TLSv1.2 (and thereby disable TLSv1.1 and TLSv1.0). - Force the clients to respect the server's cipher order, by setting
honorCipherOrder to true . - Only enable strong ciphers, by setting the
ciphers variable.
Code Block |
---|
title | Example: server.xml Connector configuration |
---|
| <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
<SSLHostConfig
honorCipherOrder="true"
ciphers="HIGH:!3DES:!DES:!SHA1:!SHA256:!SHA384:!SEED"
protocols="TLSv1.3,TLSv1.2">
<Certificate
certificateKeystoreFile="conf/localhost-rsa.p12"
certificateKeystorePassword="1234"
certificateKeystoreType="PKCS12"
type="RSA" />
</SSLHostConfig>
</Connector> |
|