You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to set up kafka cluster with 2 broker and 2 zookeeper with SSL enabled and Zookeeper working fine with SSL but its failing at running broker with below error. Looks like certificate path from broker (inside composer) not picking. I can see certificate placed inside docker successfully.
Can you please help me with this ?
broker-2 | [2023-01-02 05:17:53,466] ERROR [KafkaServer id=2] Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
broker-2 | org.apache.kafka.common.config.ConfigException: Invalid value javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target for configuration A client SSLEngine created with the provided settings can't connect to a server SSLEngine created with those settings.
broker-2 | at org.apache.kafka.common.security.ssl.SslFactory.configure(SslFactory.java:102)
broker-2 | at org.apache.kafka.common.network.SslChannelBuilder.configure(SslChannelBuilder.java:73)
broker-2 | at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:192)
broker-2 | at org.apache.kafka.common.network.ChannelBuilders.serverChannelBuilder(ChannelBuilders.java:107)
broker-2 | at kafka.network.Processor.(SocketServer.scala:853)
broker-2 | at kafka.network.SocketServer.newProcessor(SocketServer.scala:442)
broker-2 | at kafka.network.SocketServer.$anonfun$addDataPlaneProcessors$1(SocketServer.scala:299)
broker-2 | at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:190)
broker-2 | at kafka.network.SocketServer.addDataPlaneProcessors(SocketServer.scala:297)
broker-2 | at kafka.network.SocketServer.$anonfun$createDataPlaneAcceptorsAndProcessors$1(SocketServer.scala:262)
broker-2 | at kafka.network.SocketServer.$anonfun$createDataPlaneAcceptorsAndProcessors$1$adapted(SocketServer.scala:259)
broker-2 | at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:563)
broker-2 | at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:561)
broker-2 | at scala.collection.AbstractIterable.foreach(Iterable.scala:919)
broker-2 | at kafka.network.SocketServer.createDataPlaneAcceptorsAndProcessors(SocketServer.scala:259)
broker-2 | at kafka.network.SocketServer.startup(SocketServer.scala:131)
broker-2 | at kafka.server.KafkaServer.startup(KafkaServer.scala:285)
broker-2 | at kafka.Kafka$.main(Kafka.scala:109)
broker-2 | at kafka.Kafka.main(Kafka.scala)
broker-2 | [2023-01-02 05:17:53,479] INFO [KafkaServer id=2] shutting down (kafka.server.KafkaServer)
broker-2 | [2023-01-02 05:17:53,482] INFO [SocketServer listenerType=ZK_BROKER, nodeId=2] Stopping socket server request processors (kafka.network.SocketServer)
broker-2 | [2023-01-02 05:17:53,495] INFO [SocketServer listenerType=ZK_BROKER, nodeId=2] Stopped socket server request processors (kafka.network.SocketServer)
I was trying to set up kafka cluster with 2 broker and 2 zookeeper with SSL enabled and Zookeeper working fine with SSL but its failing at running broker with below error. Looks like certificate path from broker (inside composer) not picking. I can see certificate placed inside docker successfully.
Can you please help me with this ?
Docker Image ::
The text was updated successfully, but these errors were encountered: