AI made self-hosting fun again (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Replies (2)
Replies (1)
For someone who doesn't use public DNS records (and therefore has a more localized way of resolving/bookmarking the IP address), wouldn't they also do just fine using a certificate signed by something manually added to their local trust store? It's only once you have the general public resolving your domain that you also need the general public to easily validate your cert (through a chain that includes a root cert everyone's trust store already contains).
Do both in public, or do both in private. While overkill and cumbersome, things like Group Policy, MDM, etc. can handle the "I have many devices" issue.
Or if you're in control of the network E2E (LAN, or VPN with a CA cert) then there is no MITM and therefore no need for TLS.
Or if something like SSH rather than HTTPS, you've got TOFU instead of PKI.
Replies (1)
That means adding it to all the devices that need to connect to those sites. Which is fine if you're only connecting from a computer, but if it's a computer, several phones, a TV... then it's less fun. Yes, there are solutions, but having a LetsEncrypt certificate is simpler:
1. Get a wildcard subdomain to refer to hosts in your LAN (e.g., *.lan.mydomain.com) 2. Have a DNS resolver in your LAN (very common in homelab settings as people will already be running pihole or something like that) 3. Override the DNS settings to resolve the LAN subdomains to local LAN IPs.
Replies (1)
So gingerbreadx.lan.mydomain.com sits behind an HTTPS reverse proxy which serves the .lan.mydomain.com wildcard cert, and on the public DNS *.lan.mydomain.com points to the proxy. This is security through obscurity, but you have to think about how likely it is that someone would run a brute force DNS enumeration attack against your private services.