How can I get HTTPS working behind CGNAT? I want to use homeassistant cast to display Lovelace card on Chromecast enabled tv.
NabuCasa is the easiest solution to CGNAT.
Anything besides it? I am using both zero-tier and Tailscale for remote access both excellent free solutions, how can I use anyone of those for https access?
You can’t use a VPN like tailscale from a Chromecast
I need a free solution bcz can’t pay 5USD when USD:PKR rate is already rising beyond our reach due to the political situation in the neighbouring country.
So you want to cast your HA to any chromecast, anywhere?
no I just want to cast HA to my local Chromecast enabled TV.
Then, unless mistaken, CGNAT is irrelevant.
Just use your local IP. You just need to enable SSL on your HA.
You need a domain for Let’sEncrypt though.
I guess.
You can use duckdns+letsencrypt add on to get the certificate generated.
Then you would have to tinker with your local DNS to point the *.duckdns.org to your local IP.
Can’t use duckdns behind CGNAT.
Oh… you can set it up though. It would just be useless for remote access.
CGNAT is irrelevant, as OP only wants it cast locally.
It’s just to get a valid certificate, that would be used directly in HA, in http:
Yeah, I edited my post.
This Ngrok addon will give you HTTPS URL-
Not sure if its relevant, but the generated URL can be used for Google Assistant Integration.
Yeah. Using the duckdns addon, you’ll get a valid certificate for the duckdns domain.
As I said, you’ll then have to manage “a” local DNS to point that duckdns domain name to your HA local IP.
You don’t care about duckdns. You just need a valid (public, recognized and accepted by chromecast) certificate for HA.
yes that the idea. how to work it out is the probem.