Title
Create new category
Edit page index title
Edit category
Edit link
Configure SSL for Hue Using a PKCS12 Certificate on ODP
This article explains how to enable SSL for Hue using a PKCS12 (.p12) certificate file.
Use this procedure when Hue is accessible over HTTP and you want to enable HTTPS access.
Symptoms
After enabling SSL, Hue may fail to start or HTTPS access may not work.
Common causes include:
Incorrect certificate configuration
Missing certificate chain
Invalid private key permissions
Missing SSL password configuration
Prerequisites
Ensure you have:
A valid PKCS12 certificate file (.p12)
The certificate password
Access to the Hue host
Extract the Certificate Files
Extract the private key
Set permissions:
Extract the server certificate
Set permissions:
Extract the certificate chain
Set permissions:
Create the Full Certificate Chain
Combine the server certificate and certificate chain:
Set permissions:
Configure Hue SSL
Update the Hue SSL settings:
Configure the corresponding values in Ambari.
Set File Ownership
Ensure:
Verify the Certificate
Verify the private key
Verify the key matches the certificate
Both values should match.
Verify the certificate chain
Expected output:
Configure the SSL Password
If the private key is password protected:
Configure the Hue SSL password in Ambari.
Use the same password that was used to protect the private key.
Restart Hue
Restart the Hue service from Ambari.
After the restart completes, access Hue using:
Validation
Verify:
Hue starts successfully.
HTTPS access works.
Browser certificate warnings are not present.
HDFS File Browser loads successfully.
Summary
To enable SSL for Hue:
Extract the private key, server certificate, and certificate chain from the PKCS12 file.
Create a full certificate chain file.
Configure the SSL properties in Hue.
Set correct file ownership and permissions.
Configure the SSL password if the key is encrypted.
Restart Hue and validate HTTPS access.
This procedure resolves most SSL enablement issues for Hue deployments using PKCS12 certificates.