Log Search UI for SSL - stanislawbartkowski/hdpwiredencryption GitHub Wiki

Log Search Ui service in HDP is not mentioned in the official HDP documentation.

https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.5/configuring-wire-encryption/content/enabling_ssl_for_hdp_components.html

There is another document:

https://community.cloudera.com/t5/Community-Articles/Log-Search-and-SSL/ta-p/244920

According to this document, the SSL UI should be already enabled.

vi /usr/lib/ambari-logsearch-portal/conf/logsearch-env.sh

export LOGSEARCH_SSL="true"
export LOGSEARCH_KEYSTORE_LOCATION=/etc/security/serverKeys/keystore.jks
export LOGSEARCH_KEYSTORE_TYPE=jks
export LOGSEARCH_TRUSTSTORE_LOCATION=/etc/security/serverKeys/truststore.jks
export LOGSEARCH_TRUSTSTORE_TYPE=jks

Also adding property logsearch_ui_protocol=https does not work, this property can be added in "Custom logsearch-properties" and is visible later in /usr/lib/ambari-logsearch-portal/conf/logsearch.properties.

But it does not work, the Log Search UI is still listening on the non-secure HTTP port. Seems to be a component failure.