DEV Community

Anand Iyer
Anand Iyer

Posted on

Is TLS 1.3 supported for Kafka 3.0.0 on Java 8?

I have a setup running kafka 3.0.0. We use JDK 1.8 for our environment. We want to support TLS 1.3.Is the possible?

I looked up the Apache kafka documentation and added the following to kafka broker server.properties file:

ssl.enabled.protocols=TLSv1.3
ssl.protocol=TLSv1.3

However, when I start kafka broker, I see the following error:

ERROR Exiting Kafka due to fatal exception during startup. (kafka.Kafka$)
org.apache.kafka.common.KafkaException: java.security.NoSuchAlgorithmException:

I looked up on Google and it sounds like TLS 1.3 is supported on Kafka only for Java11 and above. If we are using an older Java version, TLS 1.3 is not supported.

I wanted to check here if this is true. Is there an alternative way of setting up TLS 1.3 on my setup? Remember - I have Kafka 3.0.0 on Java 8.

TIA
Anand

Top comments (0)