Create a topic in Apache Kafka SSL enabled give error handshake request

629 views
Skip to first unread message

giuseppe ricci

unread,
Nov 22, 2021, 6:26:37 AM11/22/21
to kafka-clients
Hi guys,

I'm new on Kafka security. I hope my question is not off topic..
I have an Apache Kafka installation on a remote Ubuntu server. I have only 1 broker. I set the SSL and authentication, but when I try to create a topic:

bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic test --producer.config config/client.properties  

but I receive the error:

[2021-11-22 08:28:19,217] ERROR [Producer clientId=console-producer] Connection to node -1 (localhost/127.0.0.1:9092) failed authentication due to: Unexpected handshake request with client mechanism PLAIN, enabled mechanisms are [] (org.apache.kafka.clients.NetworkClient)

why I have this error? How can I solve it?
You can see attached my config files.
Any help or support is appreciated.
Thanks.
Giuseppe.
Kafka_config_for_SSL.txt
Reply all
Reply to author
Forward
0 new messages