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?
✗ Incorrect
Port 443 is the standard port for HTTPS traffic.
Which directive in Nginx config specifies the private key file for SSL?
✗ Incorrect
The ssl_certificate_key directive points to the private key file.
What command reloads Nginx to apply new SSL settings without downtime?
✗ Incorrect
The command nginx -s reload reloads the configuration gracefully.
Which file extension is commonly used for SSL certificate files in Nginx?
✗ Incorrect
PEM files (.pem) are commonly used for SSL certificates.
What is the main benefit of installing an SSL certificate on a website?
✗ Incorrect
SSL certificates encrypt data to keep communication secure.
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.