Would also love to see this. PFSense has this same functionality with acme/letsencrypt for renewing and challenging against your own godaddy account/domain, would be super helpful to have in HA.
Hey, all!
I’m currently using this repo and it seems to work without issues yet https://github.com/troykelly/hassio-addons-letsencrypt-lexicon
I’m getting Let’s Encrypt valid cert using it, so I don’t think there are any issues with the GoDaddy API, although I’m missing DynamicDNS feature here - it’s not critical for me, because my external IP only changes after some long power outage (I guess when it is longer than the lease time for the providers DHCP)
In spite of it is called lexicon - they have a lot of other providers there
Looks like the DNS challenge worked with Troy’s addon, thanks @shoguevara!
Where can I find instructions for the next steps? I did the DNS challenge for hassio.mydomain.com, but how do I switch from hassio.local to hassio.mydomain.com.
[EDIT]
Added A (and AAAA) record for subdomain to point to IP address
Also, if you haven’t already done it, you need to create type A record, using your GoDaddy console, using the domain name you chose to point to your external IP
As I previously mentioned, Troy’s addon doesn’t have any Dynamic DNS capabilities, so you have to do it manually, which is not a problem in case your external IP is a static one.
I ended up using nginx to proxy the requests on 443, works great. Now that’s working, I had the lexicon add-on generate 4 other SSL certs for the rest of my internal server, worked like a charm.
The only thing I have to figure out now is how to tell nginx to forward to those other subdomains to the internal IP addresses of the other servers. This is unrelated to this topic and I’ll research elsewhere.
I was just about to write my own feature request for this. Why can’t the Troy Kelly code be added to the core addon? I love Home Assistant but it really seems like everything is really fragmented and you have to search for workarounds to do what you want. Seems trivial to update the addon but what do I know, I’m not a dev.
I ended up switching to NGINX Proxy Manager (‘NPM’ here) NPM has a super-easy GUI and is my favorite option for a long time now.
I forward all 443/80 through my gateway (probably a ‘router’ for you) to the NPM reverse proxy’s IP address. Then, then NPM proxy forwards that traffic to the internal endpoint. I cannot understand how freaking amazing this is.
Then from there I can just generate the Lets Encrypt SSL cert (on the SSL Certificates tab), create a new Proxy host and it handles the external SSL comms externally. All internal comms are done with normal http.
Note that I am running npm on a different device (raspberry pi zero) and not using it as a HomeAssistant add-on. This is because I use my npm for a several different internal servers and need it to be reliable all by itself.