What do you use for CA? I have an internal network on LetsEncrypt because it's annoying as hell to add special allowances to a couple dozen browsers/etc. Is there a solution you use that improves this?
I'm not who you asked, and I'm interested to see if they have a wildly different take. But here's mine:
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.
> wouldn't they also do just fine using a certificate signed by something manually added to their local trust store?
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 (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.