News for hackers. Stuff that matters.
Re:Automatic SSL Certificates for internal IP's for home k8 ... by iso1210 on Thursday September 03, 2020 @08:57AM (#24363555)
Yes, I generate a client cert and give it to you, that's not a problem - you aren't trusting the cert at all.

I can secure my servers with my own CA, again that's fine - I trust myself.

If you want to verify my servers signed from my CA though you would need to trust my CA.

Currently that means you would need to import my CA's root certificate. That's bad, it's also the way many corporations work, I've had third party suppliers try to get me to trust their own internally generated root certificates too.

A better solution would be for the user to be able to import a root certificate for use for a set purpose. I'm happy to take foobar inc's certificate to authenticate *.foobar.inc, but not to trust anything else.

For some reason browsers don't allow that - it's all or nothing.

Re:Automatic SSL Certificates for internal IP's for home k8 ... by darkarmani on Thursday September 03, 2020 @12:39PM (#24365843)
> For some reason browsers don't allow that - it's all or nothing.

Absolutely. Name constraints. It's in the spec, but no one seems to implement it. This would fully make PKI useful. Typing x509 certificate (validation) to a delegated domain would allow people to import Root CAs from a variety of places while compartmentalizing security.

Right now, if you trust a Root CA cert, you trust any domain it signs. This has been a glaring problem for years. I never thought we'd have cheap certs for everything and LE came along and blew my mind.