Use my own SSL cert on Hubitat?

That was what I thought too. Mixed content issue.

1 Like

Just got around to adding hubitat to the cert I use for all my devices. Works well.

1 Like

Oh wow!

I asked for this long ago and its great to see its now available.

Thanks a lot guys! will for sure give this a try...

1 Like

Loading dashboards from the dashboard menu has never worked with https. Even with the self signed cert.

2 Likes

I ended up enabling SSL and providing a self-signed cert and then rebooted the hub. Now I can't access the UI anymore. I tried http://your.hubs.ip.here/hub/advanced/disablessl, which showed me the startup screen, but nothing happened.

My automations are still working from what I can tell, even cloud based ones. So the hub is up and running. Does anyone have any recommendations on how I can obtain admin UI access again?

I don't have any backups that weren't stored outside the hubitat hub. :grimacing:

Maybe try https?

Tried https as well.

After doing disablessl, try rebooting the hub? You can go to http://hubip:8081 to safely reboot it. It should also give you the option to download a backup (which you should do anyway!!)

Thanks everyone, I was able to get access to the hub again. Ended up having to do a soft reset. Soft Reset - Hubitat Documentation and restored from a backup. Pretty seamless recovery.

now that we have this (kinda) how about an option to enable this for telnet so we can do at least smtp with ssl?

1 Like

+1. BUMPING this idea.

For what it's worth, on my Mac I got this all working without an issue. My instructions below worked for me, YMMV, assumes you have your Hubitat resolvable at hubitat.local

  1. Copy & paste this line into Terminal: openssl req -newkey rsa:2048 -x509 -nodes -keyout server.key -new -out server.crt -subj /CN=hubitat.local -reqexts SAN -extensions SAN -config <(cat /System/Library/OpenSSL/openssl.cnf <(printf '[SAN]\nsubjectAltName=DNS:hubitat.local')) -sha256 -days 3650
  2. Visit http://hubitat.local/hub/advanced/certificate
  3. Copy & paste the contents of the .crt and .key files (open them in a text editor) into the fields in the above.
  4. Reboot your hubitat. Depending on your browser, you may get some errors, if you dislike red bar in Chrome, add the certificates to your keychain (on mac) and set them to trusted for X509 and SSL.
  5. TEST that https://hubitat.local works properly - if you're feeling bold, toggle the "HUB UI SSL ONLY" to on.

As I said, working great for me, no issues yet.

5 Likes

Thank you devs for adding SSL.

FYI for anyone using this. Make sure that login security is enabled, or else anyone can assign a certificate and private key on your hub.

1 Like