Configuring Kafka Server with SSL authentication

You must use the following server certificates for Kafka server only. Share these certificates on the required machines and make a note of password.
  • kafka.server.keystore.jks
  • Kafka.server.truststore.jks

Update the following server.properties in Kafka server config directory.

listeners=SSL://<KAFKA_HOST>:<KAFKA_PORT> 
ssl.keystore.location=/PATH/kafka.server.keystore.jks
ssl.keystore.password= password
ssl.key.password= password
ssl.truststore.location= /PATH/kafka.server.truststore.jks
ssl.truststore.password= password
ssl.endpoint.identification.algorithm=
ssl.client.auth=required
security.inter.broker.protocol=SSL