0
0
Nginxdevops~5 mins

SSL certificate installation in Nginx - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is an SSL certificate used for in web servers?
An SSL certificate encrypts data between the user's browser and the web server, ensuring secure communication and protecting sensitive information.
Click to reveal answer
beginner
Which Nginx configuration directives specify the SSL certificate and key files?
The directives are ssl_certificate for the certificate file and ssl_certificate_key for the private key file.
Click to reveal answer
beginner
Why do you need to reload or restart Nginx after installing an SSL certificate?
Reloading or restarting Nginx applies the new SSL certificate settings so the server can start using the certificate for secure connections.
Click to reveal answer
intermediate
What file formats are commonly used for SSL certificates in Nginx?
Common formats include PEM (.pem), CRT (.crt), and sometimes combined files like .pfx or .p12, but Nginx mainly uses PEM format files.
Click to reveal answer
beginner
What is the purpose of the listen 443 ssl; directive in Nginx?
It tells Nginx to listen for HTTPS traffic on port 443 and to use SSL for secure connections.
Click to reveal answer
Which port does Nginx listen on for HTTPS traffic by default?
A443
B80
C22
D8080
Which directive in Nginx config specifies the private key file for SSL?
Assl_protocols
Bssl_certificate
Cssl_ciphers
Dssl_certificate_key
What command reloads Nginx to apply new SSL settings without downtime?
Anginx -s quit
Bnginx -s stop
Cnginx -s reload
Dnginx -s start
Which file extension is commonly used for SSL certificate files in Nginx?
A.pem
B.exe
C.doc
D.jpg
What is the main benefit of installing an SSL certificate on a website?
ASpeeds up website loading
BEncrypts data between server and client
CIncreases website storage
DImproves website design
Explain the steps to install an SSL certificate on an Nginx web server.
Think about where files go, what config changes are needed, and how to apply them.
You got /5 concepts.
    Why is it important to reload Nginx after updating SSL certificates?
    Consider how Nginx uses configuration files and certificates.
    You got /3 concepts.