examples icon indicating copy to clipboard operation
examples copied to clipboard

Confluent Cloud SSL handshake failed

Open 3wicaksono opened this issue 6 years ago • 2 comments

I just follow documentation but I cannot connect to my Kafka broker. FYI I'm using Golang script, and I got error this:

1/1 brokers are down
sasl_ssl://MYSERVER:9092/bootstrap: SSL handshake failed: s3_clnt.c:1269: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:  (after 84ms in state CONNECT)

3wicaksono avatar Jun 18 '20 11:06 3wicaksono

+1 Do we need to setup certificates and use the "ssl.ca.location"?

I also had to make changes to fix the below error by adding a switch to e.(type) panic: interface conversion: kafka.Event is kafka.Error, not *kafka.Message

abhishekkh avatar Sep 09 '20 19:09 abhishekkh

Solved

On MacOS brew install librdkafka

And then update the ConfigMap "ssl.ca.location": "/usr/local/etc/[email protected]/cert.pem"

abhishekkh avatar Sep 09 '20 20:09 abhishekkh