Hi all,
I am trying to set up a secure external access with the duckdns add-on, using it’s letsencrypt
option.
I keep having an “Unable to establish SSL connection.
” error when I try to access my https://my-sub-domain.duckdns.org
, where as I can access locally https://homeassistant.local:8123
(note that there is an https
and the port 8123
).
I looked on the forums, but could not get any leads [EDIT: not requiring installing other add-ons like nginx
]. (funnily enough the topic Https duckdns.org setup has the exact inverse problem to mine : it could access from the external url and not from the internal url)
Reading Https duckdns.org setup and looking at JuanMTech’s video (even though it uses the deprecated base_url
configuration), it should work out of the box… But it does not.
Just to make sure I test all different parts of the setup and make sure the port forwarding on my router were working, I first made it all work in http
(80
=> local ip and 8123
as TCP
). Then I switched to https using let’s encrypt on the add-on and updated the configuration.yaml
accordingly, but it does not work.
My router’s port forward does a 443
=> local ip and 8123
as TCP
. I tested it on an nginx server on my laptop with a self-assigned key, and it works fine (even though it was a 443
to 443
forward).
In Configuration > General
, I have:
- “External url” set to
https://my-sub-domain.duckdns.org
- “Internal url” set to
http://homeassistant.local:8123
(not that there is nohttps
buthttp
instead)
Any lead anyone?
Logs on the duckdns add-on look fine.
If one needs any extra information, I will gladly provide it.
Em