-
Notifications
You must be signed in to change notification settings - Fork 217
Description
Add internal route(s) as SANs on instance identity certificates
Summary
In order to allow our users to leverage instance identity certs for TLS on internal networking communications, we want the certificates to include internal routes, if any, as Subject Alternative Names
Diego repo
https://github.com/cloudfoundry/executor
https://github.com/cloudfoundry/rep
Describe alternatives you've considered (optional)
We've also considered recommending our users do one of:
- manage their own instance certificates out-of-band
- leverage identity certificates, but ignore name mismatch
- look up IPs of target containers, then make their requests by IP so they don't get a name mismatch
None of these seem like great options for our users - we're looking for an easier lift for them that maintains identity assertions.
Additional Text Output, Screenshots, or contextual information (optional)
I think I've figured our approximately how to implement this, so our team could potentially help with/take on this work if there's community appetite for it.
My implementation sketch looks like this (this is my first time looking at this codebase, though, so apologies if I'm way off-base):
- add SANs to
runInfo.CertificateProperties
- extract SANs in
CredManager::generateCreds
- add SANs to
createCertificateTemplate