Assume you own example.com, then you can issue a free certificate for *.example.com and use that certificate for all your home services. Using HTTPS in the intranet does have its benefits and eases coding when services require SSL.
If you host vaultwarden.example.com in your intranet, then you don't have to publish the subdomain on a public nameserver; it's enough that your intranet DNS resolver can respond with the local A or AAA record for vaultwarden.example.com and it's covered by the wildcard certificate.
Sure I can. It's my network, so I decide what root CAs are trusted. Be your own CA, and tell your computers to trust your own CA cert.
For example:
https://smallstep.com/blog/build-a-tiny-ca-with-raspberry-pi...
or
Specifically, what I mean is, if you have house guests that care enough about your LAN that they actually want to access any of the services you have running on it – it shouldn't be difficult to explain to them why and how to trust your CA.
The main difficulty IME is getting any of your guests to care about your LAN services in the first place.
As for house guests, I really like what OnHub did - you could allow anyone to network to control certain IoT devices. When someone was house sitting for me, they could have control thermostat, lights, etc from their phone without any apps or "add household member" shenanigans.
Yeah that makes sense :)
My own house is not really IoTified yet. I have a single "smart" plug that I can turn on or off with an app that the night table lamp on one side of the bed is plugged into. But I could see the appeal of having the IoT setup accessible to guests for people that have more IoT stuff in their house.
After all, once they've installed your root CA, you'll now be able to trivially intercept all of their encrypted HTTPS communications while they use your network. I wouldn't trust my mother with that power.
Most people are not interested in that and so don’t need to add any new CA.
Most people borrow the WiFi so they can check their WhatsApp, Instagram, TikTok etc. None of which requires adding any new CA.
s/unless/even if/
Well, I guess you could deal with the TLS warnings instead.
But I prefer to install the CA cert so that the TLS connections are seen as valid.
I've been using a local CA for a long time, but I have not found a way to limit it that way, so security-wise it is less than optimal.
Sure, via the Name Constraints extension.
Supposedly client support is spotty, but I have no experience in practice. Anything relatively modern could support it.
If "relatively modern" covers browsers and email clients, that's pretty good already.
edit: here's the reference: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.... and here's a practical example: https://systemoverlord.com/2020/06/14/private-ca-with-x-509-...
(on that note, is there a chromium/firefox build available that disables all that garbage so I can test in peace without having to reverse proxy my dev server?)
> I can just link people from home.com to a page with an ssl cert if it became necessary for some reason
The only way that would work is if you use a root certificate authority and have them install it as trusted in their device, which is asking them to compromise their security, because that authority will be trusted for all TLS validation on any domain.
> why put a crack in your security because security has a cost that you shouldn't pay unless it makes sense to
> The only way that would work is if you use a root certificate authority no, i can just link to a domain i can get Let's Encrypt certs for
But here we are.
Domain Name: HOME.COM
Registry Domain ID: 1668509_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.brandsight.com
Registrar URL: http://gcd.com
Updated Date: 2022-04-09T03:55:51Z
Creation Date: 1993-12-16T05:00:00Z
Registry Expiry Date: 2031-12-15T05:00:00Z
Registrar: GoDaddy Corporate Domains, LLC
Registrar IANA ID: 3786
Registrar Abuse Contact Email: abuse@gcd.com
Registrar Abuse Contact Phone: +1.5189669187
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Name Server: NS2-02.AZURE-DNS.NET
Name Server: NS3-02.AZURE-DNS.ORG
Name Server: NS4-02.AZURE-DNS.INFO
DNSSEC: unsignedBut, for any visitors, if they have their devices configured to use their providers name servers, or if they have configured them to use one of the public name servers, if you direct them to "home.com" for something on your local lan, their device will instead resolve "home.com" to the IP assigned by the actual owner, and they will not be able to access your lan local "home.com" services.