Server certificates are stored in Java KeyStore (JKS) format and must be converted to
    Privacy Enhanced Mail (PEM) format. You must create a PEM file before configuring Hue as a
    TLS/SSL client or a TLS/SSL server.
        
          To create the Hue truststore, extract each certificate from its keystore with the Java
          keytool, convert the certificate to PEM format with the OpenSSL.org
          openssl tool, and then add it to the Hue truststore:
        
        - 
                Extract the certificate from the keystore of each TLS/SSL-enabled server with
                  which Hue communicates. For example, if you have
                  hadoop-server.keystorethat contains a server certificate,foo-1.example.comwith a password ofexample123, you would use the followingkeytoolcommand:
                  keytool -exportcert -keystore hadoop-server.keystore -alias foo-1.example.com -storepass example123 -file foo-1.cert
 
 
- 
            Convert each certificate into a PEM file. Here is what the openssltool command looks like for thefoo-1.certfile that was extracted in
              Step 1:
              openssl x509 -inform der -in foo-1.cert > foo-1.pem
 
 
- 
        Concatenate all the PEM certificates you extracted and converted from the server
          truststore into one PEM file:
        
          cat foo-1.pem foo-2.pem foo-n.pem ... > hue_truststore.pem
 
 Concatenate the certificate files in the following order: SSL certificate followed by
          intermediate certificate, followed by the root CA certificate.