I will start telling by what i am trying to achieve. So My setup is:
6 VM's running Ubuntu 14.04 Version. - In 3 of them i have setup Kafka and in 3 i have created the zookeeper instance.
I start the produce and consume and all seems to work fine no issue.
Now i want to secure the setup using the SSL which has come up with kafka 0.9 version. I only want to setup SSL between client and kafka broker so that they can communicate securely. I followed the folowing link.
The only change i have done is: i have replaced the localhost with the IP of the kafka broker as i have 6 VM's running on same network.
Where i am getting stuck is after generating the the certificates when i run the following command:
openssl s_client -debug -connect localhost:9093 -tls1
I get the message connect:
Connection refused connect:errno=111
I dont know how to proceed with this. I tried googling going through the documents but couldn't fine anything.
Also some suggestion what will be the ideal setup for security, my req is i only need secure communication between kafka client and brokers, i dont need to worry about kafka-to-kafka and kafka-to-zookeeper communication.
Please help, Vishesh.