Configuring SSL for HiveServer2 Client/Server Communication

For non-Kerberos connections, you can configure encrypted communication using Secure Socket Layer (SSL) between HiveServer2 and clients.

  1. From the Admin console, Services tab select the Hive service.
  2. Under the Configuration menu, select View and Edit.
  3. Under Service-Wide go to the Security category.
  4. Check the Enable SSL for HiveServer checkbox to enable SSL support.
  5. Provide the path to a keystore file, and provide the keystore password in the appropriate fields.
  6. Save Changes. This adds these configurations to the hive-site.xml file.
  7. Restart the Hive service to have these changes take effect.

For information about connecting to HiveServer2 using SSL from a JDBC client, see the information in the Configuring HiveServer2 section of the Hive Installation Guide.