+3 votes
in Web & Google by (15.7k points)
I want to enable https on my website. I found that Comodo PositiveSSL is not very expensive certificate, so I am planning to buy it. How can I install it on my VPS?

1 Answer

+1 vote
by (45.8k points)
edited by

There are mainly 3 steps to enable https on your webserver:

1. Using openssl command generate .csr and .key files.
openssl req -new -newkey rsa:2048 -nodes -keyout domainname_com.key -out domainname_com.csr
2. Buy SSL certificate from a vendor. You will need .csr file at the time of purchase

3. Update nginx configuration file of your domain.

Look at the link for more details: https://comodosslstore.com/blog/installing-comodo-positivessl-certificate-on-nginx.html