Bird
0
0

After enabling TLS, clients report connection failures. You find ssl_options.fail_if_no_peer_cert is set to true but clients do not provide certificates. How to fix?

medium📝 Debug Q7 of 15
RabbitMQ - Security and Operations
After enabling TLS, clients report connection failures. You find ssl_options.fail_if_no_peer_cert is set to true but clients do not provide certificates. How to fix?
ADisable TLS by commenting out ssl_options
BRemove ssl_options.cacertfile from config
CChange listeners.ssl.default port to 5672
DSet ssl_options.fail_if_no_peer_cert to false to allow clients without certs
Step-by-Step Solution
Solution:
  1. Step 1: Identify fail_if_no_peer_cert effect

    true means clients must provide certs; false allows clients without certs.
  2. Step 2: Fix client connection issue

    Set fail_if_no_peer_cert to false to accept clients without certificates.
  3. Final Answer:

    Set ssl_options.fail_if_no_peer_cert to false to allow clients without certs -> Option D
  4. Quick Check:

    fail_if_no_peer_cert false allows no client certs [OK]
Quick Trick: fail_if_no_peer_cert false allows clients without certs [OK]
Common Mistakes:
MISTAKES
  • Removing CA cert file which is unrelated
  • Changing port to non-TLS port
  • Disabling TLS instead of fixing cert requirement

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes