Database Management
Disable weak TLS 1.2 cipher suites in DPA
This article explains how to configure Tomcat’s server.xml to restrict TLS 1.2 cipher suites, and optionally enable only TLS 1.3, which uses only strong cipher suites.
First published date
Last published date
Overview
Starting with DPA 2025.2, Database Performance Analyzer (DPA) uses JDK 17 and Tomcat 10. By default, JDK 17 enables both TLS 1.2 and TLS 1.3 for HTTPS connections. Because TLS 1.2 can allow weaker cipher suites, you may need to restrict or disable those cipher suites to meet your organization’s security requirements or pass vulnerability scans.
Cipher suites for TLS 1.2:
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Cipher suites for TLS 1.3:
- TLS_AKE_WITH_AES_256_GCM_SHA384
- TLS_AKE_WITH_CHACHA20_POLY1305_SHA256
- TLS_AKE_WITH_AES_128_GCM_SHA256
Product section
Cause
A security scan or compliance check reports that the DPA web server supports weak cipher suites over TLS 1.2.
-
With JDK 17, TLS 1.2 and TLS 1.3 are enabled by default for SSL/TLS communication.
-
TLS 1.2 still permits some weaker cipher suites that may not meet your organization’s security baseline.
-
Unless Tomcat is explicitly configured to restrict cipher suites, those TLS 1.2 ciphers remain available.
Resolution
You have two main options:
-
Restrict TLS 1.2 cipher suites to a strong set of ciphers using the Tomcat
SSLHostConfigconfiguration. -
Disable TLS 1.2 and allow only TLS 1.3, which supports only strong cipher suites and therefore does not require an explicit cipher list.
Before you begin
-
Locate the DPA Tomcat configuration file:
<DPA-install-directory>/tomcat/conf/server.xml -
Make a backup of
server.xmlbefore editing it. -
Changes take effect only after restarting the DPA service (Tomcat).
Option 1 – Restrict TLS 1.2 cipher suites in server.xml
Use this option if you must keep TLS 1.2 enabled for compatibility but want to disable weaker cipher suites.
-
Back up the Tomcat configuration file.
-
Copy
<DPA-install-directory>/tomcat/conf/server.xmlto a safe location.
-
-
Open
server.xmlin a text editor with appropriate permissions. -
Locate the HTTPS connector used by DPA (port 8124 by default). It will look similar to:
<Connector port="8124" maxHttpHeaderSize="20480" URIEncoding="UTF-8" scheme="https" secure="true" SSLEnabled="true" compression="on" compressionMinSize="2048" compressibleMimeType="text/html,text/xml,text/csv,text/css,application/javascript" defaultSSLHostConfigName="dpasslhost"> ... </Connector> -
Add or update the
SSLHostConfigblock to restrict cipher suites.For example:
<Connector port="8124" maxHttpHeaderSize="20480" URIEncoding="UTF-8" scheme="https" secure="true" SSLEnabled="true" compression="on" compressionMinSize="2048" compressibleMimeType="text/html,text/xml,text/csv,text/css,application/javascript" defaultSSLHostConfigName="dpasslhost"> <SSLHostConfig hostName="dpasslhost" honorCipherOrder="true" protocols="TLSv1.2+TLSv1.3" ciphers="HIGH:!SHA1:!SHA256:!SHA384:!RSA:!DHE"> <Certificate certificateKeystoreFile="conf/.keystore" certificateKeystoreType="PKCS12" type="RSA" /> </SSLHostConfig> </Connector>-
protocols="TLSv1.2+TLSv1.3"keeps both TLS 1.2 and TLS 1.3 enabled. -
The
ciphersexpression restricts the configuration to high-security cipher suites only, excluding ciphers that use SHA1, SHA256, SHA384, RSA key exchange, or DHE as specified in the expression.
Note: The exact
ciphersstring you use should be aligned with your organization’s security policy and the cipher suites supported by your clients and security tools. -
-
(Alternative) Specify an explicit cipher list
Instead of using an OpenSSL-style cipher expression, you can configure an explicit, comma-separated list of allowed cipher suites, for example:
ciphers="TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"-
Use cipher suites that are:
-
Supported by your deployed JDK/Tomcat version.
-
Accepted by your security standards and client applications.
-
-
-
Save
server.xml. -
Restart the DPA service (Tomcat).
-
On Windows, restart the SolarWinds DPA service.
-
On Linux, restart the service or script used to run DPA.
-
-
Re-run your security scan to confirm that the weaker TLS 1.2 cipher suites are no longer offered.
Option 2 – Enable only TLS 1.3
If all clients that connect to the DPA web console support TLS 1.3, you can simplify configuration by disabling TLS 1.2 entirely and allowing only TLS 1.3.
-
Back up
server.xml. -
Open
server.xmland locate the HTTPS connector (as shown above). -
Update the
SSLHostConfigblock so that it enables only TLS 1.3 and omits theciphersattribute:<Connector port="8124" maxHttpHeaderSize="20480" URIEncoding="UTF-8" scheme="https" secure="true" SSLEnabled="true" compression="on" compressionMinSize="2048" compressibleMimeType="text/html,text/xml,text/csv,text/css,application/javascript" defaultSSLHostConfigName="dpasslhost"> <SSLHostConfig hostName="dpasslhost" protocols="TLSv1.3"> <Certificate certificateKeystoreFile="conf/.keystore" certificateKeystoreType="PKCS12" type="RSA" /> </SSLHostConfig> </Connector>-
TLS 1.3 only supports strong cipher suites, so there is no need to define an explicit cipher list in the
SSLHostConfigblock.
-
-
Save
server.xml. -
Restart the DPA service (Tomcat).
-
Verify that only TLS 1.3 is offered:
-
Use your security scanning tool, or
-
Use an SSL/TLS testing tool (for example,
openssl s_clientor browser-based scanners) to confirm that TLS 1.2 is disabled and only TLS 1.3 is negotiated.
-
Important: If you restrict the server to TLS 1.3 only, older clients that do not support TLS 1.3 will no longer be able to connect to the DPA web console.
For more information see DPA Secure Configuration Guide: Best Practices and Recommendations