Unable to try TLS without authentication #4876
MandarJKulkarni
started this conversation in
General
Replies: 1 comment 1 reply
-
I'm not sure what did you used the I guess you can:
That should give us. bit more insights into what went wrong and why does it not work for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have installed strimzi kafka operators followed by a kafka cluster with the yaml from here.
The custom resource kafka my-cluster has below value.
I have extracted the /opt/kafka/cluster-ca-certs/ca.crt into a keystore.jks and stored it as a truststore using keypassword from /opt/kafka/cluster-ca-certs/ca.password.
I have created a client.properties with below values.
security.protocol=SSL
ssl.truststore.location=/tmp/kafka/testkeystore.jks
ssl.truststore.password=test123
I am getting handshake errors when I try to use console-producer.
bin/kafka-console-producer.sh --topic mytopic --bootstrap-server localhost:9093 --producer.config /tmp/kafka/client.properties
ERROR [Producer clientId=console-producer] Connection to node -1 (localhost/127.0.0.1:9093) failed authentication due to: SSL handshake failed (org.apache.kafka.clients.NetworkClient)
What could I be missing?
Appreciate any help. I have double checked that the certificate import is correct.
Beta Was this translation helpful? Give feedback.
All reactions