Member since
03-27-2019
4
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
31875 | 09-11-2020 05:48 PM |
09-11-2020
05:48 PM
I am able to fix this issue, posting the resolution here just in case if it helps anyone. I was using the embedded zookeeper which comes with Kafka. I see the below code is missing in the zookeeper server start script which will initialize the environment for the zookeeper. After adding the below code, the jvm process is able to pick the jaas file properly and sasl configuration is complete. After this Kafka is able to SASL auth to zookeeper without any issues. if [ "x$KAFKA_OPTS" = "x" ]; then export KAFKA_OPTS="-Djava.security.auth.login.config=/home/zookeeper/zookeeper_jaas.conf" fi
... View more
03-28-2019
12:48 AM
Please make the verifier.pem file contain only the root CA certificate. Then list contents with # openssl x509 -text -in /opt/cloudera/security/pki/verifier.pem And repeat the connection test with this exact command # openssl s_client -connect cmhost.antuit.internal:7182 -CAfile /opt/cloudera/security/pki/verifier.pem
... View more