Open jan94 opened 1 year ago
Pruning those ca.crt
data from the Bundle may be best. I haven't done that yet because someone, maybe me, still needs to analyze whether any predictable scenario would cause those root CAs to be needed. For example, when an alternative issuer is configured in the controller chart's Helm values.
The redundancy is functionally harmless because Ziti de-duplicates root CAs when they're aggregated to compute the well-known trust bundle that's used by clients to verify Ziti's server certs.
I agree the opportunity to optimize here is a more readable and understandable Bundle template and resultant ConfigMap.
Currently, the ca-bundle has duplicate entries for each Root CA.
Solution: Remove the following secrets from the trust-bundle:
Also it would be good to directly include the root certs and not the intermediate ones - although this produces the same output , but it improves readability and clarity a lot. So the outcome would be that there are just the Root CA certs for ctrl-plane, web-identity and edge-signing.