In order to set up https (secure access over http) on your VPS, you will first need to install the SSL application template on your VPS with the following steps:
- Go to System tab > Applications > Add Application.
- Check the box to the left of "SSL for Apache"
- Click on the Next button.
- If you have purchased a VPS hosting plan with no application template charge for SSL for Apache your installation will be complete. If there is an application fee you will need to complete the requested billing information.
Note: You can only install one secure certificate per site per IP address. When you set up a site, make sure that the site does not reside on the same IP address as another site for which you will also want to have a secure certificate.
Next you will need to install a "Self-Signed" Certificate for the site with the following steps:
- Click on the Site tab.
- Click on Select Another Site.
- Click on the site for which you wish to configure SSL.
- Click on Website Management
- Click on Website Settings.
- Click on the Secure Website tab.
- Click on the Enable SSL button.
- Click on Generate the SSL Certificate button.
- Go to System tab > Server Management > Web Server.
- Click on the Restart button to restart the web server.
Once these steps are complete, you can access your site through https://sitename.com. You will get a warning message that shows “Your certificate was issued by a company you have not chosen to trust.”
To have a certificate that does not display this warning would require purchasing one through a Certificate Signing Authority. You can purchase a SSL certificate from Advantagecom Networks, Inc. at a competitive price. Send an email to sales@advantagecom.net for more information on purchasing a SSL certificate.
To obtain your SSL certificate, you will need to provide your Certificate Signing Request (CSR). You can get a CSR for your site in your HSPC control panel with the following steps:
- Click on the Site tab.
- Click on Select Another Site.
- Click on the site for which you wish to configure SSL.
- Click on Website Management.
- Click on Website Settings.
- Click on the Secure Website tab.
- Click on the Generate a Request button.
- Fill out the information that is requested then click on the Submit button.
- Click on the "SSL certificate request details" to access the Certificate Request Content.
Once you receive your SSL Certificate from the Certificate Signing Authority you will need to install the certificate in your HSPC control panel with the following steps:
- Click on the Site tab.
- Click on Select Another Site.
- Click on the site for which you wish to configure SSL.
- Click on Website Management.
- Click on Website Settings.
- Click on the Secure Website tab.
- Click on the Install the SSL certificate button.
- Either upload the certificate file or paste the contents of the certificate into the text box.
- Click on the Submit button to complete the SSL certificate installation.
Some certificates require a root chain certificate to be installed. To install the root chain certificate follow these steps:
- Copy the root chain certificate file to the VPS's /etc/httpd/conf/ssl.crt directory.
- In your HSPC control panel, click on the Site tab.
- Click on Select Another Site.
- Click on the site for which you wish to configure SSL.
- Click on Website Management.
- Click on Website Settings.
- Click on the Secure Website tab.
- Click on the Custom Settings tab.
- Enter the following text:
SSLCACertificateFile /etc/httpd/conf/ssl.crt/rootchaincertificate.crt
(Replace rootchaincertificate.crt with the actual root chain certificate name.)
10. Click on the Edit button to save your changes.