I have setup Duck DNS and can access my HA through my duckdns subdomain. (mydomain.ducks.org).
The issue is, that I am not sure where to go from here with getting set up with the SSL and let’s encrypt or certbot. I am running HA in a docker container on a RPI 3 with Raspbian 32 bit.
Could anyone give me an easy guide to get this setup in my configuration and what my next steps should be? I am happy to help with more info.
Many Thanks.
UPDATE: I still have no solution for this. Can anyone help at all?
Hello GreeBear33,
you need to check the documentation of duckdns. It is all explained it there. Basically, you need to accept the terms of the Let’s encrypt.
accept_terms: true
and put your duckdns token
token:
and put a portforward on your internet router to your home assistant
I have already downloaded certbot and have retrived my certificate. The files are saved on my Rpi at the following locations: for privacy i have changed my domain to xxxxxx
GreenBear33, duckdns does all the configuration for let’s encrypt and everything you don’t need to install certbot.
for the secure connection you need to install MariaDB addon. once you have it running, install Nginx Proxy Manager addon to send the http protocol to https. Follow the documentation on Nginx Proxy Manager addon
if you want you can use ngrok addon but you won’t have a custom domain unless you paid for it.
I’m also trying to get HA in docker accessible externally via HTTPS only. I’ve managed to configure duckdns and can access via an external HTTP connection, but I only want HTTPS access externally.
Accordingly to this post it’s “effortless” but it seems to be hass.io and not cover HA in docker.
My ultimate goal is to get Nest devices set up (which require an external URL), at this point I’m tempted to just pay for Nabu Casa, but paying $5 per month primarily to integrate Nest for minor/simple automation, seems excessive.
I know it has been some time, but did you guys find a way to make it work?
I just recently moved my HA installation from my PI to a ubuntu server with docker and got to the point where i can acess everything using http. Same as you I would prefer https tho.