How to use “Setup SSL (https)” function to setup SSL


Setup SSL (https) Menu

Setup SSL (https) Menu

Using “Setup SSL (https)” function in VPSSIM, you can install  SSL for your website very easily.

Here are the steps you should take to install SSL for your website.

1. Create domain key & Sign SSL certificate

See how to do in video below:

You can download domain CSR file any time by using Download Domain’s Certificate Request (CSR) function.

When finished this step, I will get the CSR file for VPSSIM.COM domain:

=========================================================================
SSL has installed 365 days for vpssim.com on VPS
————————————————————————-
You have to edit /etc/nginx/conf.d/vpssim.com.conf to finish setup SSL
————————————————————————-
Link download vpssim.com.conf example:
————————————————————————-
http://104.236.249.43:2017/vpssim.com.conf.txt
————————————————————————-
Use vpssim.com.csr to register SSL with the 3rd
————————————————————————-
Link download vpssim.com.csr:
————————————————————————-
http://104.236.249.43:2017/vpssim.com.csr
————————————————————————-

Then download vpssim.com.csr file to buy an SSL certificate for VPSSIM.COM.

After have an SSL certificate for VPSSIM.COM, i will use  the sample configuration file ( http://104.236.249.43:2017/vpssim.com.conf.txt ) to config Vhost for VPSSIM.COM

The files i need to edit:

  • vpssim.com.conf ( /etc/nginx/conf.d/vpssim.com.conf )
  • vpssim.com.crt ( /etc/nginx/ssl/vpssim.com/vpssim.com.crt)

1. Edit vpssim.com.conf

(Path: /etc/nginx/conf.d/vpssim.com.conf )

See how to do in video below:

2. Edit vpssim.com.crt

(path: /etc/nginx/ssl/vpssim.com/vpssim.com.crt)

After buy an SSL certificate completed, i get an zip file, unzip this file and use the content of all .crt files to vpssim.com.crt.

See how to do in video below:

 To finish installing SSL for your website, restart nginx service

service nginx restart

You can install ssl for your website similar to the above steps.
Good luck.

Related Post: