Disable SSL on local lan? Possible?

I've found an old ipad (one of the fat original ones) in one of my drawers and would like to use it to access the UI. Problem is, it has an older version of iOS. This means that the latest version of chrome that I can download on it does not support the version of SSL that duckdns seems to use.

Is it possible to keep the duckdns ssl cert for outside of my network connections, but keep the internal ip as non ssl?

I could buy a new tablet to replace the ipad, but figured it's sitting here doing nothing and would be good to put it to use.

Posted Feb 28, 2019, 11:40 AM UTC

412
MrJokeMaster•

Well NGINX will let you configure it so you can access HA from within your network without Ssl but still require it from outside connections.. not sure what version of HA you are on so you will have to look up how to install and configure it. I'm on hassio so it was just an add-on.

7
0110010001100010•

This is what I do. I have a separate reverse proxy box that serves all my internal servers though (BlueIris, HA, NextCloud, Grafana, Node-RED, etc).

2
thekaufaz•

Access via the IP address to port 8123 instead of SSL port 443.

4
EpicSuccess•

This is what I do. Why go out to the web to come right back internal? Makes more sense to just hit the local IP.

3
thekaufaz•

Routers don't send anything out to the web if it's local. It's the same thing whether you type an IP address or domain name. The router sees that the domain points to its own IP address. There is no where to send the packet external. It stays local.

1
EpicSuccess•

If you have it entered in your local DNS resolver sure... Otherwise it still has to go out to the web to see that it points back to your WAN IP....

1
thekaufaz•

Yea, it will have to resolve the DNS somehow, which in most cases will be an external query. But traffic destined for the server doesn't go external. To me it is beyond worth it to just have one domain that works whether I am home or not.

1
I_TensE_I•

I'm in the same boat. I have an iPad 3 that I updated to latest iOS it will go to (iOS 9.something) and I get an SSL handshake issue. I even installed the certificate on it. I tried NGINX but couldn't figure out how to set it up for no SSL on local network

2
koomOP•

Also, I'm guessing this is the issue. I've got no idea if lovelace will even play nice with this version of iOS (5.1.1). Is it worth me even bothering?

1
Naito-•

Lovelace will not work on something that old. It barely works on ios9, forget 5

3
koomOP•

Damn, oh well I won't even bother with it then. Will have to think of some other ways to repurpose this old thing. It's a shame because the device itself is in good working order, but hardly any apps are supported on it anymore.

1
ARJeepGuy123•

If you can install NGINX on a linux server, you can take a look at this comment of mine for instructions on setting up a reverse ssl proxy. You'd then forward port 443 to nginx instead of homeassistant, and you'd have plain HTTP (http://<HA IP>:8123) inside of your network and HTTPS from the outside.

1