Enable SSL Encryption Between Hue and Hive
About this task
hive-site.xml
file.
Procedure
-
The following example shows how to correctly configure the directory path where the
hive-site.xml
file is located in thehive_conf_dir
property in[beeswax]
section of thehue.ini
file:[beeswax] ... # Hive configuration directory, where hive-site.xml is located hive_conf_dir=/opt/mapr/hive/hive-2.3/conf
-
The following examples show how to enable or disable Hue verification of service
certificates by configuring
ssl_cacerts
andssl_validate
properties in[desktop]
section of thehue.ini
file:Example for enabling certificate verification:[desktop] ... # Path to default Certificate Authority certificates. As example: /path/to/cacert.pem ssl_cacerts=/opt/mapr/conf/ssl_truststore.pem # Choose whether Hue should validate certificates received from the server. ssl_validate=true
Example for disabling certificate verification:[desktop] ... # Path to default Certificate Authority certificates. As an example: /path/to/cacert.pem # ssl_cacerts= # Choose whether Hue should validate certificates received from the server. ssl_validate=false
-
After you change these properties, restart Hue to apply your changes:
maprcli node services -name hue -action start -nodes <hostname>