Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18728

Secure webHCat with SSL

    XMLWordPrintableJSON

    Details

      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

        1. HIVE-18728.3.patch
          35 kB
          Oleksiy Sayankin
        2. HIVE-18728.2.patch
          7 kB
          Oleksiy Sayankin
        3. HIVE-18728.1.patch
          7 kB
          Oleksiy Sayankin

          Activity

            People

            • Assignee:
              osayankin Oleksiy Sayankin
              Reporter:
              osayankin Oleksiy Sayankin
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h