Mine is through my selfhosted website that I use with a google domain. It’s just a woocommerce store, that I run through a wordpress docker.
I created the certificates with certbot and then copied the info into the /ssl/ folder.
If I log into HA with my https://local.hassio url, it says invalid, but if I log in through my domain, it’s secure.
I was thinking of that and have been trying a form of this if for no other reason Alexa lambda functions. Here’s my problem.
I have Windows Essentials Server allowing me to remotely connect to computers at home. That runs on 80 and 443. Changing 443 is impossible or almost impossible.
I need to expose HA on 443 for the Alexa integration because that’s all that Amazon supports. Right now having HA on 8123 it fails but going to 443 it works.
I kind of want essentials to be primary because it’s remoting in and the like and who knows what changing it would break. So I tried using ARR and URL Rewrite rules to make this work and it kind of did but after logging in would fail. Plus there are issues with SSL getting the browser to receive the right cert as I have one public cert for essentials another for HA.
Hi all - I am noticing the same thing after setting up duckdns & letsencrypt. When I visit my homeassistant from a browser, it complains that it is not secure.
I see an error that reads:
This server could not prove that it is 192.168.1.202 ; its security certificate is from XXXXXX.duckdns.org . This may be caused by a misconfiguration or an attacker intercepting your connection.
I clicked on ‘certificate’ but I cannot find what may be the culprit.
Do you open homeassistant via the IP or via the duckdns domain?
If you call homeassistant over the IP the message of your browser is correct, because the certificate was issued for the call over duckdns.
Is there an option to configure HA in such a way that SSL will be used only when connecting from outside (external domain), but not when connecting locally (local IP)?
I know that I can use Nabu Casa Remote, but I’m searching for an alternative.
@Flop2006 - correct, I was using the IP address on a local connection. If I connect via the duckdns address, I do not see this error. Is there any issue with connecting through duckdns.org instead of locally? it just seemed a round about way to get to my local box. Thanks!
Hmm… I seem to be able to connect externally to my home assistant now that SSL is installed with duckdns- but I have trouble connecting to my home assistant when in my local network… any thoughts would be helpful - thanks!