Install SSL certificates on the cPanel panel and one-click installation of the cPanel Lets Encrypt Free SSL method

Source: Internet
Author: User
Tags prepare cpanel vps free ssl free ssl certificate ssl certificate

In his previous blog post, Lao Jiang shared many applications and installation of free SSL security certificates. However, most of the installation is based on VPS and deployed on servers. Due to the needs of the company's projects, the unstable overseas VPS and server websites have been relocated to the Asian node virtual hosts with better speed as required, some websites have used SSL certificates.

But fortunately, most of the current virtual hosts use the cPanel panel, so Chiang is preparing to record how the website is deployed on the cPanel panel and how it is migrated and used for SSL certificates. Because most of our websites do not or do not need to use VPS or servers, deploying SSL certificates on the cPanel panel is much easier than deploying servers, and some host vendors (such as SugarHosts) the panel also comes with a one-click installation of the Let's Encrypt Free SSL certificate, which is very convenient and automatically renewed.

 

1. Deploy a website SSL certificate on the cPanel panel

 

Before deploying SSL for a website, we need to add the website to the current host and the additional domain. I will not describe it here. Since we are all preparing to use the SSL certificate, should basic site addition operations be performed? In other words, we need to first ensure that the website can be opened over HTTP, and then deploy HTTPS as follows.

 

1. Prepare to deploy SSL

 

 

We need to go to the cPanel panel, and then prepare for deployment in the SSL/TLS menu.

 

2. Set HTTPS for the website

 

 

As shown in the preceding figure, click "Manage SSL sites ".

 

3. Add an SSL configuration file

 

 

Here we need to paste the SSL certificate to three file scripts. If we use ssl for free to obtain the free ssl certificate, we can see three files in the directory, we can paste them in.

 

4. Check the SSL certificate list

 

 

After adding the SSL certificate, we can see that the SSL certificate has been installed for this site. Here I use Let's Encrypt, so the validity period is 3 months. Of course, if we use SSL for other years, we can see the Expiration Time. If the certificate is about to expire, we can "update the certificate" and paste the new SSL certificate file to save it.

 

Second, cPanel comes with a one-click installation of the Let's Encrypt certificate

 

At present, this feature has not been seen by other virtual host providers, and candy host providers are the first to have such a good function. You can directly install the Let's Encrypt Free SSL certificate on the cPanel panel.

 

1. Preparations

 

We need to add an additional domain in the panel first, at least the current website is already in the panel.

 

2. Prepare to install Let's Encrypt

 

 

3. Formally install Let's Encrypt

 

 

Click the button shown in the preceding figure.

 

 

Select the domain name of the site where the SSL certificate is to be installed. Click submit.

 

4. Installation is complete

 

 

In this simple way, the free SSL certificate of Let's Encrypt is automatically and will be automatically renewed. This method is simpler than above.

 

Third, check the current site SSL Certificate installation

 

 

In this simple way, we can see that the current site has all been deployed in the form of https url, and the SSL certificate has been installed. Here we will mention that if our website does not have force HTTPS access, we need to force redirect on the site or pseudo static files.

 

IV. Summary of installing SSL certificates on the cPanel panel

 

1. Relatively speaking, it is easier to install and deploy SSL certificates on the cPanel panel than on the server. You can directly replace the obtained certificate file and save it to the SSL management Directory of the corresponding site to automatically complete the configuration.

 

2. If we need to use the Let's Encrypt Free SSL certificate, and if the panel comes with a quick one-click deployment, we recommend that you use this method first, because the deployment is simpler, and can automatically help us renew the time.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.