Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Doc for the issue:
Configure WebHCat server to use SSL encryption
You can configure WebHCat REST-API to use SSL (Secure Sockets Layer) encryption. The following WebHCat properties are added to enable SSL.
templeton.use.ssl
Default value: false
Description: Set this to true for using SSL encryption for WebHCat server
templeton.keystore.path
Default value: <empty string>
Description: SSL certificate keystore location for WebHCat server
templeton.keystore.password
Default value: <empty string>
Description: SSL certificate keystore password for WebHCat server
templeton.ssl.protocol.blacklist
Default value: SSLv2,SSLv3
Description: SSL Versions to disable for WebHCat server
templeton.host
Default value: 0.0.0.0
Description: The host address the WebHCat server will listen on.
Modifying the webhcat-site.xml file
Configure the following properties in the webhcat-site.xml file to enable SSL encryption on each node where WebHCat is installed:
<!-- WebHCat SSL -->
<property>
<name>templeton.use.ssl</name>
<value>true</value>
</property>
<property>
<name>templeton.keystore.path</name>
<value>/path/to/ssl_keystore</value>
</property>
<property>
<name>templeton.keystore.password</name>
<value>password</value>
</property>
Example: To check status of WebHCat server configured for SSL encryption use following command
curl -k 'https://<user>:<password>@<host>:50111/templeton/v1/status'
replace <user> and <password> with valid user/password. Replace <host> with your host name.
Attachments
Attachments
Issue Links
- causes
-
HIVE-26286 Hive WebHCat Tests are failing
- Open
- links to