How to install Let's Encrypt SSL certificate on cPanel

2020-06-12 By Ryan 5488 Views linux let's encrypt ssl security cpanel
0 reviews

In WHM, the manage AutoSSL interface allows the management of the AutoSSL feature, which automatically installs domain-validated SSL certificates. In the AutoSSL feature, the Let's Encrypt Plugin allows retrieving certificates from the Let’s Encrypt™ provider.


By default, the Let's Encrypt Plugin will not be enabled in WHM and only the cPanel’s default provider will be present as shown.

cpanelletsencrypt1


Installing Let's Encrypt plugin in WHM

The below steps can be followed to install the Let's Encrypt plugin first in WHM.


  1. Execute the below command from the server command prompt.

    # /usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider
    

    cpanelletsencrypt2

  2. Log in to the server WHM panel by using the below URL.

    https://IP address:2087
    

    NOTE: Replace the IP address with the actual IP address of the server.

  3. Once logged in to the WHM, navigate to the Manage AutoSSL that is under the SSL/TLS section and select the Let’s Encrypt™ option under the Providers tab.

    cpanelletsencrypt13

  4. Once the Let’s Encrypt™ option is selected, the Terms of Service section will be shown. The terms can be reviewed from the link of the PDF file shown. Once this is done, select the I agree to these terms of service option and then click on Save.

    cpanelletsencrypt14

  5. Once it is saved successfully, a prompt will be displayed notifying that the AutoSSL has been configured to use the Let's Encrypt™ provider.

    cpanelletsencrypt6

  6. The current AutoSSL provider will be displayed as Let's Encrypt™. If the Let's Encrypt is selected and set as the default provider on WHM, it will provide all future SSL and Wildcard SSL certificates.

    cpanelletsencrypt7


Installing Let’s Encrypt SSL Certificate for an account

Once the Let’s Encrypt SSL plugin has been installed and enabled in WHM, the Let’s Encrypt SSL can now be enabled for individual accounts on the server.


  1. Click on the Manage Users tab from the same Manage AutoSSL page in WHM.

    cpanelletsencrypt15

  2. Select the check-box to the left of the cPanel user account for which the Let’s Encrypt AutoSSL feature is to be enabled and then click on the Enable AutoSSL on selected user button.

    cpanelletsencrypt16

    Note: In the above example, the domain layerstacktest.com has been used with the cPanel user account being layerstack.

  3. Once it is successfully enabled, a message prompt will be displayed that the AutoSSL feature has been enabled for the selected cPanel user.

    cpanelletsencrypt17

    The Logs option can be used to check if the Let’s Encrypt™ SSL has been installed for the default domains of the cPanel account. The basic default domains include the main domain name, cpanel, webmail, webdisk, mail, www, cpcontacts, cpcalendars and * (wildcard) associated with the main domain name.


Uninstalling Let's Encrypt plugin from WHM

If the Let’s Encrypt plugin is no longer required to serve the AutoSSL feature in WHM and needs to be removed from the server, the below steps can be followed.


  1. Execute the below command from the server command prompt.

    # /usr/local/cpanel/scripts/uninstall_lets_encrypt_autossl_provider
    

    cpanelletsencrypt10

  2. Once the plugin has been removed, this can be verified by logging into WHM and navigating to Manage AutoSSL option under the SSL/TLS section. The Let’s Encrypt™ option will no longer be shown under the Providers list confirming its removal.

    cpanelletsencrypt18


Related LayerStack Products


Related Tutorials

What do you think about this article?

Rate this article
LayerStack Dedicated Cloud

About LayerStack’s Cloud Server

LayerStack is a leading Cloud Server provider in Asia, offering high performance and reliable SSD cloud computing services in our purpose-built, Tier 3+ data centers in Hong Kong, Singapore, Japan and the United States.

Try our blazing fast cloud servers with unlimited traffic and high security NOW!

WATCH DEMO
Instant Deployment in 1 Minute.

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.

Try our NEW Dedicated Cloud Now!: Provide users with more control and flexibility over the cloud infrastructure.