Challenge - 5 Problems
TLS/SSL Encryption Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
RabbitMQ TLS handshake failure output
You have configured RabbitMQ to use TLS but the client fails to connect. What output will you see in the RabbitMQ logs when a TLS handshake fails due to a certificate mismatch?
Attempts:
2 left
💡 Hint
Look for error messages related to TLS handshake and certificate issues.
✗ Incorrect
When a TLS handshake fails due to certificate mismatch, RabbitMQ logs a fatal alert with 'Bad Certificate' indicating the client rejected the server certificate.
❓ Configuration
intermediate2:00remaining
Correct RabbitMQ TLS configuration snippet
Which of the following RabbitMQ configuration snippets correctly enables TLS on the default listener port 5671 with certificate files?
Attempts:
2 left
💡 Hint
Check the port number and the order of certificate files in ssl_options.
✗ Incorrect
Port 5671 is the default TLS port. The CA certificate must be set in cacertfile, server cert in certfile, and private key in keyfile. TCP listener must be disabled to avoid conflicts.
❓ Troubleshoot
advanced2:00remaining
Diagnosing RabbitMQ TLS client connection error
A RabbitMQ client fails to connect over TLS with the error: "unable to verify the first certificate". What is the most likely cause?
Attempts:
2 left
💡 Hint
Think about what "unable to verify the first certificate" means in TLS context.
✗ Incorrect
This error means the client cannot verify the server certificate chain because it does not trust the CA that issued the server certificate.
🔀 Workflow
advanced2:00remaining
Order of steps to enable TLS on RabbitMQ
What is the correct order of steps to enable TLS encryption on a RabbitMQ server?
Attempts:
2 left
💡 Hint
Think about what must be done before configuring RabbitMQ and clients.
✗ Incorrect
First generate certificates, then configure RabbitMQ, then distribute CA cert to clients, finally verify connections.
✅ Best Practice
expert2:00remaining
Best practice for RabbitMQ TLS private key security
Which of the following is the best practice to secure the RabbitMQ server private key used for TLS?
Attempts:
2 left
💡 Hint
Consider how to protect sensitive cryptographic material from unauthorized access.
✗ Incorrect
Private keys must be protected with strict permissions and ideally stored encrypted or in hardware security modules to prevent compromise.