+3 votes
in Web & Google by (7.0k 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 (29.1k 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