The following procedure explains how to enable SSL encryption between Hue and Hive. This procedure works on a secure cluster.
When you start or restart Hue on a secure cluster, keys are generated at
$HUE_HOME. If generated
keystorefiles already exist in that location, the script does nothing. The script is located here:
$HUE_HOME/bin/secure.sh, and it runs with a set of default parameters, which should not be changed.
Add the following SSL configuration information to the
hue.inifile (under the
Make sure that no custom authentication mechanism is turned on and configure the
hive-site.xmlwith the following properties:
Restart Hue, Hive Metastore, and HiveServer2.
To restart Hue:
To restart Hive Metastore:
To restart HiveServer2: