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.
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 a certification authority to issue an SSL certificate. A certification authority will usually charge you a fee for that.
To issue an SSL certificate, a certification authority needs a Certificate Signing Request (CSR) from you. A CSR is a message created...