Configuring Hue to connect to TLS 1.2/TCPS-enabled databases
Learn how to configure an existing Hue instance to connect to TLS-enabled MySQL, MariaDB, or PostgreSQL databases or TCPS-enabled Oracle database.
If TLS 1.2 is enabled on the database servers, and the databases are restricted or enforced to use TLS 1.2, then Hue automatically uses the TLS1.2-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 Hue.
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 manually enable TLS 1.2 on the Hue instance, go to Enable TLS/SSL for Hue option.
and select theThe following section is specific for configuring Hue to connect to a TCPS-enabled Oracle database.
- You must have installed and configured Oracle as a backend database for Hue as described in Using Oracle database with Hue.
- You must have enabled TCPS on the Oracle database as described in Enabling TCPS for Oracle Database Server.
- You must have created database users.