-
- Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
Description
Currently, enabling Quorum TLS will make the server validate SANs client certificates of connecting quorum peers against their reverse DNS address. This is less-than-helpful for two reasons:
- ZK pods' IP addresses will resolve to a hostname per service it participates in, only one of which is in the certificate SAN (zk-server-default-0.zk-server-default.default.svc.cluster.local is in SAN, 1-2-3-4.zk.default.svc.cluster.local is not in SAN).
- "This certificate matches the connecting peer" does not mean "this peer should be allowed to connect".
Instead, the ZK server should verify the SAN against the list of servers (servers.N
in the config). A peer should be able to connect on the quorum port if and only if at least one SAN matches at least one of the listed servers.
Additionally, it would be nice to have a "disable client hostname verification" option that still leaves server hostname verification enabled.
Both of these would need to be implemented upstream.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done