Got my own cert

I have HA running on linux and have my own subdomain and dns entry and SSL certs. I see all kinds of info on DuckDNS but nothing on how to use your own cert. In my case it’s from GoDaddy. Does anyone know what needs to be done to set this up? On latest version of HA.

Thanks.

JR

I don’t know, since I don’t have a cert of my own ( I use letsdnsocloud with my own domain), but I would try the following :

  • copy the certificates to /ssl
  • change the dns for the host the certificate is issued for to my home ip
  • forward port 8123 on my router to point to my HA ip
  • add this to my configuration.yaml :
http:
  base_url: https://where.the.cert.points.to
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  ip_ban_enabled: true
  login_attempts_threshold: 3
  

Put the cert in the config directory and tell the http component where it is.

Or

Run a reverse proxy and have it handle your cert

Thanks I’ll give it a shot. Assume when we are talking the ssl folder we are talking /usr/share/hassio/ssl? Couple other questions if you folks know.

When I tried this before with DuckDNS I was able to get to the main login page but then logging into the web console would fail.

Also with the iOS companion app I had a hard time getting the app to work even after disabling advanced configuration and just putting in the https address in.

Any thoughts?

Thanks.

JR

On my hassio installs it is this one (hassio installed on generic linux host)

Just drop it in your config directory…