Repository navigation
atenet-router: reach atunnel through mTLS CONNECT tunnels by default - #2618
Bowei Du (bowei) merged 1 commit into
Conversation
| # server on :443, and validates that server against the trust bundle. | ||
| # mTLS. Envoy presents this credential bundle as its client cert when | ||
| # opening CONNECT tunnels to the worker's atunnel on :8443, and | ||
| # validates that server against the trust bundle. |
There was a problem hiding this comment.
I don't see this logic anywhere in the PR?
It's not sufficient to just check the server certificate against this root certificate --- these certificates can be issued to any pod in the cluster.
Additionally, to uphold the node isolation security principle, atenet ingress needs to know which specific ateom/atunnel pod it is connecting to, and check that against the pod information in the server certificate.
That doesn't have to be a GA blocker, but if we land something less secure, we need to track the followup.
There was a problem hiding this comment.
right, its not in this PR, its related to #2078 issue. Which we discussed a bit offline.
I will followup on this today/tomorrow (for GA, I think) but its a separate fix
Related: #1208