Enabling SSL on Hue Without Using a Private Key
If you do not have a private key and want to run tests, you can enable SSL on Hue by creating a self-signed certificate:
- Create a key: - openssl genrsa 1024 > host.key 
- Create a self-signed certificate: - openssl req -new -x509 -nodes -sha1 -key host.key > host.cert 
- Move the - host.keyand- host.cerffiles to the- ssldirectory:- mv host.key /etc/ssl mv host.cert /etc/ssl 
- Configure Hue to use your private key by adding the following syntax to the - /etc/hue/conf/hue.inifile:- ssl_certificate=$PATH_TO_CERTIFICATE ssl_private_key=$PATH_TO_KEY ssl_cipher_list="DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2" (default) 
- Restart Hue: - /etc/init.d/hue restart 

