Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Hue and GoDaddy certificates

avatar
Contributor

Hi!

I've been using Hue with a self-signed certificate and it's been fine, but after purchasing a certificate from GoDaddy I can't seem to get it

to work. I've seen a few comments that until recently CherryPy does not work with certificate chains which is what GoDaddy provides.

 

Has anyone managed to get this to work please? Thanks, Neil

1 ACCEPTED SOLUTION

avatar
Super Guru
Yes, these parts are in the [beeswax] or [impala] section so it is for SSL
between Hue and them, so unrelated to HTTPS in the Browser

View solution in original post

3 REPLIES 3

avatar
Contributor
Hue ships an older forked version of CherryPy that doesn't support
Certificate chain files.

However, we just landed in our Git repo a fix for it:
https://github.com/cloudera/hue/commit/df932c6edbd3900a05f1ee9bef9b5e629329a817

this should be used with the .pem created like this

cat hostname.key hostname.crt gd_bundle.crt > certificate_chain.pem

(from
https://joshnisly.wordpress.com/2009/01/24/using-godaddy-certificates-with-cherrypy/
)

let us know if it solves it!
e.

avatar
Contributor

Thanks for the quick turnaround!

 

It actually turned out to be simple - if you only use the public certificate part, and not the chain it works fine and users can now connect via a pretty domain name over https 😉

 

I did have to leave ssl as disabled in hue.ini though. Perhaps this section is related to how Hue communicates with Hive rather than the browser?

 

[[ssl]]
# SSL communication enabled for this server.
## enabled=false

avatar
Super Guru
Yes, these parts are in the [beeswax] or [impala] section so it is for SSL
between Hue and them, so unrelated to HTTPS in the Browser