KafkaClients like producer/consumer, why they need to pass on ca.crt (ClusterCA?) Otherwise handshakefails #5999
Unanswered
seemasanjaisinghani
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Server authentication is a common part of the TLS process. At the end the mutual says that the authentication should be mutual and not just one-sided. It helps to ensure you are sending the records to / receiving it from the correct server and not from some faked one in case of some form of man-in-the-middle-atack. But at the end it is your setup and your responsibility. So if your Kafka client supports it, you can just trust all Kafka brokers 🤷♂️ . |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have setup Kafka with mtls, we observed from some of your threads that we need to pass on ca.crt (clusterCa) as truststore, else the handshake fails. Why server verification is needed?
Any help?
Beta Was this translation helpful? Give feedback.
All reactions