-
Hello, I configured my Zookeeper and Kafka Broker to communicate over SSL using certificates signed by our company's CA. The problem is that I get an error while the zookeeper is queried for its metrics. This is the error message:
I get a similar error when I invoke the zookeeper-shell without specifying the zk-tls-config file. I also get an error in my zookeeper log indicating that a request was made which was not a SSL/TLS request. Log from Zookeeper (zookeeper-server.log):
This makes me think that the Kafka-UI is not using SSL when connecting the zookeeper on :2182. docker-compose .yml with configuration: docker-compose.yml.txt I'm using my own docker image based on the official one. I'm copying the root CA certificate to the image and run update-ca-certificates and import it into the Java keystore using keytool. Please see my Dockerfile for details: Maybe I missed something, but I fail to figure it out. If you have any further questions, please come back to me. Thanks for your help in advance. Best regards Jens |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Jens, thanks for reaching out. |
Beta Was this translation helpful? Give feedback.
Hi Jens, thanks for reaching out.
Actually we have a ready docker-compose example with SSL-enabled zookeeper, located here. Please try it out :)