TLS certificates for internal services done right
31–40 of 177 posts
Re: TLS certificates for internal services done right
#32Re: TLS certificates for internal services done right
#33Hmm. I don't really care enough about leaking home network host names because they are all super generic names like 'router', 'laptop', 'tv', 'nas'. So I use my public zone on cloudflare. I just use internal ip addresses (eg: nas.example.com = 10.1.2.3) on the public zone and DNS01 challenge for let's encrypt. Anyone can resolve the ip for any of my hosts, but obviously you'd need to be on the wireguard vpn to hit th…
Fair, but what about names that are specific enough to give an attacker a clue to a potential attack surface, like "authelia.example.com" - now they know you've likely got an Authelia setup, and can start digging for exploitable CVEs etc. I'm in the process of removing all my individual certs and replacing with a wildcard cert served by Traefik. Is that a bad idea?
Removing attack surface is better than trying to hide it.
Re: TLS certificates for internal services done right
#34I don’t know much in this space, but I find myself wishing there was a dead simple self hosted CA solution and also that trust on first use (à la ssh) was A Thing for self-managed root certs in client implementations. TOFU is such an elegant, good-enough solution for these use cases. Fixed deployment is always still an option, but in this day and age it feels so much like we are unnecessarily still dealing with solve…
Most browsers support trust on first use for leaf certs
Re: TLS certificates for internal services done right
#35I don’t know much in this space, but I find myself wishing there was a dead simple self hosted CA solution and also that trust on first use (à la ssh) was A Thing for self-managed root certs in client implementations. TOFU is such an elegant, good-enough solution for these use cases. Fixed deployment is always still an option, but in this day and age it feels so much like we are unnecessarily still dealing with solve…
On k8s, there's cert-manager but also you need k8s... Most browsers support trust on first use for leaf certs
And later if something changes, then they can do the whole DOING SOMETHING NASTY! thing, which is effectively the experience today
Re: TLS certificates for internal services done right
#36Re: TLS certificates for internal services done right
#37Re: TLS certificates for internal services done right
#38Re: TLS certificates for internal services done right
#39I get it, I could just do *.mydomain.com and slap that wildcard cert everywhere, but it's still in the public logs..
Re: TLS certificates for internal services done right
#40This is crazy. If you have a home network with a few internal services, or some sort of network where you don't control the endpoints, just use DNS validation. That's why it exists. But on hosts you control, you should absolutely provision them with an identity and join the local CA. You're going to need it for a multitude of other reasons.
Can you elaborate why one shouldn't use DNS validation for hosts you control in general?
In that case there's no need to validate anything as names, dns records, certificates and anything else should already be in place.