Hi. I am a bit confused about something, so thought I’d ask the forum. Recently I deployed Caddy Web Server as a reverse proxy in front of my proxied installation of Home Assistant. Obviously my separate server running Caddy is handling certificate maintenance. What confuses me is the configurations for a lot of my Supervisor add-ons. Many have config lines that provide an option for SSL and certificates being stored in the default location…
eg from TasmoAdmin…
TasmoAdmin does NOT use Ingress. Other add-ons do use Ingress so maybe that affects my final configuration.
Basically, do I need certificates also stored in Home Assistant’s ecosystem. And if I don’t need them stored on my installation, how do I handle add-on configs? Ignore SSL? Or do I reference them on the server that runs Caddy?
I don’t use port 443 BTW… I use a high numbered port.
I can then go to https://tasmoadmin.domain:xxxxx and tasmoadmin opens. I can also use that in an iFrame so I can view it in the sidepanel of Home Assistant.
Yep. I have DNS challenge setup in the addon for the certificates. There is a DNS challenge for DuckDNS and also Namecheap (which I use) and lots of others. But you need to download a custom version of Caddy (which sounds complicated but is actually only a few mouse clicks)
I have this working a treat with 443. BTW, why the high numbered ports? Just to lesson the chances of hackers finding an open port on your network? Thanks!!!
Yes. As @Tinkerer says, when you walk down the street and everyone has their door (port 443) in the same place but your door is say port 10456, you will get far less strays just knocking on your door if they can’t find it. A lot of port scanners will only look at the first thousand ports so it’s just extra obscurity. I actually only have an IPv6 record (AAAA) for my HA domain so really, good luck finding that and on a non-obvious port…