Database setup details for Cloudera Data Explorer (Hue) for TLS/TCPS-enabled databases
Data Explorer automatically uses +TLSv1.2
+TLSv1.3 when you create a Cloudera cluster
with the Auto-TLS option. You can also enable TLS in Data Explorer
configurations after you add the Data Explorer service to your cluster
using Cloudera Manager.
If TLS 1.2 is enabled on the database servers, and the databases are restricted or
enforced to use these protocols, then Data Explorer
automatically uses the compatible ciphers to communicate with the database securely.
You do not have to configure any setting in Hue's Advanced Configuration
Snippet or any other configurations. This is applicable when using
MySQL, MariaDB, or PostgreSQL databases as a backend database for Data Explorer.
The following TLS configurations are supported:
- TLSv1.2: Enables TLS 1.2 exclusively.
- TLSv1.3: Enables TLS 1.3 exclusively.
- TLSv1.2 and TLSv1.3 (Default): Enables both TLS 1.2 and TLS 1.3 simultaneously.
To restrict the MySQL and MariaDB databases to use TLS 1.2, set the value of the
require_secure_transport to true in the
my.cnf file.
To enable TLS versions on the Data Explorer instance, go to and select the Enable TLS/SSL for Hue option.
If TCPS is enabled on the Oracle database, then you can specify the connection string
containing the TCPS
protocol in the Database SID
field.
- You must have enabled TLS 1.3, or TCPS on the Data Explorer database.
- You must have created database users.
- You must have installed the MySQL client (for MySQL or MariaDB databases).
- You must have installed the psycopg2 Python package (for PostgreSQL database).
