Bird
0
0

You configured Kafka broker with SSL but clients still connect without encryption. What is the most likely mistake?

medium📝 Debug Q14 of 15
Kafka - Security
You configured Kafka broker with SSL but clients still connect without encryption. What is the most likely mistake?
ABroker keystore file is missing
BClients did not set security.protocol to SSL
CBroker truststore file is invalid
DClients set ssl.keystore.location incorrectly
Step-by-Step Solution
Solution:
  1. Step 1: Check client SSL configuration

    Even if broker is configured for SSL, clients must also set security.protocol=SSL to use SSL.
  2. Step 2: Understand effect of missing client SSL setting

    If clients do not specify SSL, they connect using plaintext, ignoring broker SSL setup.
  3. Final Answer:

    Clients did not set security.protocol to SSL -> Option B
  4. Quick Check:

    Client SSL setting required for encrypted connection [OK]
Quick Trick: Both client and broker must enable SSL explicitly [OK]
Common Mistakes:
  • Assuming broker config alone enforces SSL
  • Blaming missing broker keystore without checking client
  • Confusing truststore errors with client SSL setting

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes