Challenge - 5 Problems
SSL Configuration Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Output of SSL certificate check command
What is the output of running
openssl s_client -connect example.com:443 if the SSL certificate is valid and trusted?Nginx
openssl s_client -connect example.com:443Attempts:
2 left
💡 Hint
Look for 'Verify return code: 0 (ok)' which means the certificate is valid.
✗ Incorrect
Option A shows a successful SSL handshake with a valid certificate chain and no verification errors. Other options indicate handshake failure, unknown CA, or missing certificate.
❓ Configuration
intermediate2:00remaining
Correct SSL protocol configuration in nginx
Which nginx SSL configuration snippet correctly disables SSLv2 and SSLv3 but enables TLSv1.2 and TLSv1.3?
Attempts:
2 left
💡 Hint
Modern best practice disables SSLv2 and SSLv3 due to security risks.
✗ Incorrect
Option B correctly enables only TLSv1.2 and TLSv1.3, which are secure protocols. Options B, C, and D include insecure protocols.
❓ Troubleshoot
advanced2:00remaining
Troubleshooting missing SSL certificate error
An nginx server fails to start with the error:
nginx: [emerg] cannot load certificate "/etc/nginx/ssl/server.crt": BIO_new_file() failed. What is the most likely cause?Attempts:
2 left
💡 Hint
BIO_new_file() failure usually means file not found or unreadable.
✗ Incorrect
The error indicates nginx cannot open the certificate file. This usually means the file is missing or nginx lacks permission to read it. Expired or format issues cause different errors.
🔀 Workflow
advanced2:00remaining
Order of SSL directives in nginx config
What is the correct order of these SSL directives inside an nginx server block for proper SSL setup?
Attempts:
2 left
💡 Hint
Protocol and cipher settings should come before specifying certificates.
✗ Incorrect
The best practice is to first define protocols and ciphers, then specify certificate and key files. Option C reflects this order.
✅ Best Practice
expert2:00remaining
Best practice for SSL session cache configuration
Which nginx SSL session cache configuration is best for improving performance while maintaining security?
Attempts:
2 left
💡 Hint
Balance cache size and timeout to avoid memory waste and stale sessions.
✗ Incorrect
Option A uses a reasonable cache size and timeout to improve SSL handshake speed without risking stale sessions or excessive memory use. Option A disables cache hurting performance. Option A cache is too small. Option A timeout is too long risking stale sessions.