adding HTTPS SSL to Hue on AWS EMR Hue

Please find the steps for setting up SSL on Hue interfaces:

HUE ===

1) Create self signed SSL certificate

openssl genrsa 4096 > server.key

openssl req -new -x509 -nodes -sha1 -key server.key > server.cert

Please enter the public DNS name of the master node when asked for hostname.

2) Edit hue.ini file change the values of following properties:

[desktop]

# Filename of SSL Certificate

ssl_certificate=/path/to/server.cert

# Filename of SSL RSA Private Key

ssl_private_key=/path/to/server.key

[[session]]

secure=true

[[ssl]]

enabled=true

validate=false

3) Restart hue service

sudo stop hue

sudo start hue

4) You would be able to access Hue over https on port 8888 on your master node.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s