I am trying to setup Tailscale to access HomeAssistant via HTTPS for an ESPHome project. I have followed these instructions from Tailscale: https://tailscale.com/docs/how-to/set-up-https-certificates I also watched the video here: https://tailscale.com/blog/remotely-access-home-assistant I have a problem with step 5 - running tailscale cert on the HA machine. I loaded the ‘Advanced SSH & Web Terminal’ add-on and opened a terminal window to HA. However, the cmd: tailscale cert fails (command not found: tailscale). I am running HA v. 2026.01.03, OS 17.0 Tailscale v. 0.27.1 Yes, Tailscale is running on the HA instance. Suggestions please?
Apparently following the Tailscale instructions worked, minus step 5 (on HA system, tailscale cert - file not found on my system). I also enabled add-ons/Tailscale/show unused options/serve. When I connected via HTTPS without port 8123 it worked. I am not using funnel because I want to restrict access to my HA through Tailscale. I don’t know but expect that funnel would also create the cert like serve did.
I followed all the above instructions, but got this error:
Logger: homeassistant.components.http.forwarded Source: components/http/forwarded.py:112 Integration: HTTP ([documentation](https://www.home-assistant.io/integrations/http), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+http%22)) First occurred: 15:54:14 (30 occurrences) Last logged: 15:54:52
Received X-Forwarded-For header from an untrusted proxy 127.0.0.1
I had to add this to the end of configuration.yaml and restart to get it all to work. Then I could set the Home Assistant URL to https:// at my Tailscale MagicDNS domain name in my Mobile App