I am making consumer in Asp.Net
using Confluent Kafka. Confluent kafka downloaded from Nuget package.
I want to connect with remote server where kafka is deployed using SSL certificate.
I am using config for connection:
var configSSL = new ConsumerConfig {
GroupId = groupID,
BootstrapServers = serverUrl,
SslCaLocation = "Config/testcert.p12",
SecurityProtocol = SecurityProtocol.Ssl,
AutoOffsetReset = AutoOffsetReset.Earliest,
Debug = "all",
};
I am not able to connect kafka server using SSL certificate and I am getting error:
Error occurred: ssl.ca.location failed: No error