Hello,
I’m using .NET Client version 5.0.12 to connect to a 3 node cluster on server version 21.10.0.
I’m using TCP connection and setting UseSslConnection with validateServer = true.
Also setting PerformOnAnyNode.
I can connect to any individual node and publish to streams without issue, which leads me to believe my certs are set up correctly.
I can connect to a persistent subscription on the Leader node.
But when I try to connect to a sub on the Follower nodes, it immediately disconnects. Verbose logging shows “The remote certificate is invalid according to the validation procedure.” If I set validateServer = false it works on all nodes.
Can’t figure out why validateServer is fine except for on persistent subs on Follower nodes. Any ideas on what is happening here?