zookeeper two-way ssl authentication error Received fatal alert: bad_certificate #4289
Replies: 7 comments 1 reply
-
Strimzi does not support connecting to external Zookeeper. So I'm not sure what exactly are you trying to achieve. In general, bad_certificate normally means that your client certificate (keystore in the client) does not match the CA in the truststore. So you should double check if they really match. If you run the Zookeeper shell is written in Java. So if you pass it a Java system property |
Beta Was this translation helpful? Give feedback.
-
The following is the log of the ssl handshake process, please help to see what may be the problem. client.log
server.log
|
Beta Was this translation helpful? Give feedback.
-
Does this:
suggest that the client does not know about the keystore / truststore? |
Beta Was this translation helpful? Give feedback.
-
apache-zookeeper-3.5.9 The same set of certificates is valid in zookeeper zoo.cfg
Use zkCli.sh to connect normally
But the broker will make an error when connecting to zookeeper
|
Beta Was this translation helpful? Give feedback.
-
@lanzhiwang have you managed to fix this one? |
Beta Was this translation helpful? Give feedback.
-
You need to read that there is a truststore, what it is used for. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
I try to make Kafka connect to the external zookeeper, I first need to do ssl mutual authentication for zookeeper。
Something like this
zookeeper <------ssl security------> broker, zookeeper-shell.sh
My initial configuration process is as follows:
zookeeper server security
zookeeper client security
I tested and found some errors in the certificate
Beta Was this translation helpful? Give feedback.
All reactions