In this post, we will see how can we enable encryption or authentication in Kafka by using SSL

Security feature is introduced in Kafka in 0.9 version but it’s a beta version and the complete security features in 0.10 version onwards so now to use this encryption or authentication we need to install or work with Kafka version 0.10 in our compute/VM/machine/computer.

I want to give you some theory about how it will work and what are the steps we need to do.

First of all we have to prepare the SSL Certificates so this is the pre work so before we install the Kafka and working with the SSL.

Follow the below steps:

  1. Generate a certificate(X509) for each Kafka broker
  2. Generate a certificate authority(CA) for signing 
  3. Sign all the broker certificates with generated CA
  4. Import the CA and signed certificate to broker key store
  5. Import CA to client trust store & broker trust store
  6. 2-way authentication(Broker has to trust client)



Google Plus

Apache Zookeeper Tutorial

Apache Kafka Tutorial

Apache Kafka Security

Elasticserarch n Kibana

Java 8 Tutorial

Log4J Tutorial

Apache Storm Tutorial

SQLite Tutorial

Apache Ant Tutorial

Related Posts


Apache Kafka Commands Cheat sheet

Spread the loveKafka Topics List existing topics bin/ –zookeeper localhost:2181 –list Purge a topic bin/ –zookeeper localhost:2181 –alter –topic mytopic –config … wait a minute … bin/ –zookeeper localhost:2181 –alter –topic mytopic –delete-config
Read more…


What is Apache Maven | Apache Maven complete tutorial from scratch pdf

Spread the love In this post you will learn the complete tutorial of Apache Maven build tool What is Maven ? Apache Maven is a software project management and comprehension tool. Based on the concept
Read more…


Practical Guide for Web Development in 2018

Spread the loveWelcome to my practical guide  for web development in 2018 in terms of  technology and career. Before we start I just want to  mention a few things, you don’t need to learn  everything that
Read more…