1

Is it possible to use Kafka with SSL encryption but with no server verification nor client authentication? I know that by default the latter is disabled, but is it possible to also disable the former?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245

1 Answers1

0

I encountered the similar problem. Since kafka is a java process, it will load the default jdk certs when running, which is under /usr/local/jdk/jre/lib/security/cacerts. if your server is trusted there, (in my scenario, my kakfa server is MSK, and is trusted already), then you don't have to config all the keys and certs.

So all in all, I only added kafka config of security.protocol=SSL and it worked.

rosa
  • 87
  • 1
  • 3