0
0
Nginxdevops~5 mins

SSL protocol and cipher configuration in Nginx - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of configuring SSL protocols in nginx?
Configuring SSL protocols in nginx controls which versions of SSL/TLS are allowed for secure connections. This helps improve security by disabling outdated or vulnerable protocols.
Click to reveal answer
beginner
What does the ssl_protocols directive do in nginx?
The ssl_protocols directive specifies which SSL/TLS protocol versions nginx will accept for HTTPS connections, such as TLSv1.2 and TLSv1.3.
Click to reveal answer
intermediate
Why is it important to configure cipher suites in nginx?
Cipher suites determine the encryption algorithms used during SSL/TLS connections. Configuring them ensures strong encryption and prevents weak or vulnerable ciphers from being used.
Click to reveal answer
intermediate
What is the effect of this nginx directive? <br>ssl_ciphers 'HIGH:!aNULL:!MD5';
This directive tells nginx to use only strong ciphers (HIGH), exclude anonymous authentication ciphers (!aNULL), and exclude ciphers using MD5 hashing (!MD5), improving security.
Click to reveal answer
beginner
How can you disable SSLv3 and TLSv1.0 in nginx?
By setting ssl_protocols TLSv1.2 TLSv1.3; in the nginx configuration, you disable SSLv3 and TLSv1.0, allowing only TLS 1.2 and 1.3 protocols.
Click to reveal answer
Which nginx directive controls the SSL/TLS protocol versions allowed?
Assl_protocols
Bssl_ciphers
Cssl_certificate
Dssl_session_cache
What does the exclamation mark (!) mean in the ssl_ciphers directive?
ASet cipher priority
BInclude the cipher
CExclude the cipher
DEnable anonymous ciphers
Which SSL/TLS protocols are recommended to enable in nginx for best security?
ATLSv1.2 and TLSv1.3
BSSLv3 and TLSv1.0
CTLSv1.0 and TLSv1.1
DSSLv2 and SSLv3
What is the main risk of allowing weak ciphers in SSL configuration?
ASlower connection speed
BIncreased server load
CCompatibility issues with browsers
DSecurity vulnerabilities and data breaches
How do you specify multiple protocols in the ssl_protocols directive?
ASeparate by commas
BSeparate by spaces
CUse semicolons
DUse colons
Explain how to configure nginx to use only TLS 1.2 and TLS 1.3 protocols and strong cipher suites.
Think about which protocols to allow and how to exclude weak ciphers.
You got /3 concepts.
    Describe why disabling older SSL protocols like SSLv3 is important in nginx SSL configuration.
    Consider the risks of outdated encryption methods.
    You got /3 concepts.