confluentinc / confluent-kafka-dotnet

Confluent's Apache Kafka .NET client
https://github.com/confluentinc/confluent-kafka-dotnet/wiki
Apache License 2.0
52 stars 857 forks source link

Who to use SASL_SSL authentication #2266

Open chsakell opened 1 month ago

chsakell commented 1 month ago

Description

Brokers have been configured to use SASL_SSL The following three files provided for client connection:

What is the ConsumerConfig required to connect to that instance? Do I have to somehow create and use a trust store / private key - public key certificate pair for the client as described on the two-way-tls-example-1--tls-client-authentication section using the ca files provided?

anchitj commented 1 month ago

You'll need to create a trust store and can pass the config similar to the ProducerConfig mentioned in the link.