Installing SSL certificates

Today, more than 60 percent of the HTTP traffic on the Internet is protected by SSL. In the presence of sophisticated attacks such as cache poisoning and DNS hijacking, SSL is mandatory if your web content has any value.

Nginx has high-class SSL support and makes it easy for you to configure. Let's walk over the installation procedure of an SSL virtual host.

Before we start, make sure the openssl package is installed on your system:

# apt-get install openssl

This will insure that you have the necessary tools to go over the SSL certificate issuing procedure.

Creating a Certificate Signing Request

You need an SSL certificate in order to set up an SSL virtual host. In order to obtain a real certificate, you need to contact ...

Get Nginx Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.