Recall & Review
beginner
What does SNI stand for and why is it important for multiple SSL certificates?
SNI stands for Server Name Indication. It allows a server to present multiple SSL certificates on the same IP address and port, enabling hosting of multiple secure websites without needing separate IPs.
Click to reveal answer
intermediate
How does nginx use SNI to serve different SSL certificates?
nginx uses the server_name directive inside server blocks to match the requested hostname. It then selects the correct SSL certificate configured for that server block using SNI.
Click to reveal answer
beginner
What is the minimum nginx configuration needed to enable SNI for two domains?
You need two server blocks each with its own server_name, ssl_certificate, and ssl_certificate_key directives. nginx automatically uses SNI to serve the right certificate based on the hostname.
Click to reveal answer
intermediate
Can SNI work with clients that do not support it?
No, clients that do not support SNI will not be able to select the correct certificate and may see certificate warnings or connection failures.
Click to reveal answer
beginner
Why is SNI preferred over using multiple IP addresses for SSL hosting?
SNI allows multiple SSL sites to share one IP address, saving IP resources and simplifying server management compared to assigning a unique IP for each SSL site.
Click to reveal answer
What does SNI enable on a web server?
✗ Incorrect
SNI allows a server to present different SSL certificates based on the hostname requested, all on the same IP address.
In nginx, which directive is used to specify the domain name for SNI?
✗ Incorrect
The server_name directive tells nginx which hostname this server block handles, enabling SNI to select the right certificate.
What happens if a client does not support SNI when connecting to an nginx server with multiple SSL certificates?
✗ Incorrect
Without SNI support, the client cannot indicate which hostname it wants, so the server may send the wrong certificate causing warnings.
Which nginx directive specifies the SSL certificate file for a domain?
✗ Incorrect
ssl_certificate points to the SSL certificate file for the domain in the server block.
Why is SNI useful for hosting multiple HTTPS sites on one server?
✗ Incorrect
SNI lets multiple SSL certificates be used on a single IP, avoiding the need for multiple IP addresses.
Explain how nginx uses SNI to serve multiple SSL certificates on one IP address.
Think about how nginx matches the requested domain to the right certificate.
You got /5 concepts.
Describe the limitations of SNI and how it affects clients without SNI support.
Consider what happens if the client cannot tell the server which site it wants.
You got /4 concepts.