1. Install and Configure SSL on HDP Security Administration Server

Hortonworks recommends configuring SSL after HDP Security Administration server and agents are fully configured and tested.

[Note]Note

These steps require a private key for HDP Security Administration server and a valid CA X509 Certificate in JKS format. For more details on obtaining a certificate, see http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Certificates.

  1. Log on to the HDP Security Administration server as root.

  2. Install the certificate in the key store following the instructions outlined in http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Certificates.

  3. Edit the /usr/lib/xapolicymgr/ews/xapolicymgr.properties as follows:

    1. Comment out the following line to disable the HTTP service port:

      #http.service.port=6080
    2. Uncomment the following line to enable the HTTPS service port:

      https.service.port=6080
    [Note]Note

    Modify the port number as required.

  4. Add the certificate key store information:

    https.attrib.keyAlias=$KeyAlias_From_JKS_file
    https.attrib.keystorePass=$KeyStore_Password_for_JKS_file
    https.attrib.keystoreFile=$Absolute_Path_JKS_file
  5. Restart the HDP Security Administration service as follows:

    service xapolicymgr stop
    service xapolicymgr start

loading table of contents...