How To Install Let’s Encrypt SSL using DirectAdmin

r00t April 11, 2018

Install Let’s Encrypt SSL using DirectAdmin

In this tutorial we will show you how to install Apache Zeppelin on CentOS 7 server. For those of you who didn’t know, Let’s Encrypt is a free open certificate authority (CA) that provides free certificates for websites and other services. The service, which is backed by the Electronic Frontier Foundation, Mozilla, Cisco Systems, and Akamai. Unfortunately, LetsEncrypt.org certificates currently have a 3 month lifetime. This means you’ll need to renew your certificate quarterly for now.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step install Let’s Encrypt SSL using DirectAdmin on CentOS 7 server.

Install Let’s Encrypt SSL using DirectAdmin

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Login to your DirectAdmin VPS via SSH as user root.

First, Login to your DirectAdmin VPS:

Step 3. Get the latest Let’s Encrypt script

Next, we will clean the software list and make sure we’ve got the latest Let’s Encrypt script:

Then, rewrite the configuration files:

Step 4. Configure DirectAdmin.

In order to enable Let’s Encrypt support on DirectAdmin, open the DirectAdmin configuration file:

You should also make sure that SNI is enabled in DirectAdmin by adding/modifying this line:

Save the file and restart DirectAdmin for the changes to take effect:

With this step Let’s Encrypt is enabled in DirectAdmin and we can proceed with the installation. Login to the control panel at https://yourdomain:2222 with your username and go to ‘SSL Certificates’ under ‘Advanced Features’:

Install Let’s Encrypt SSL using DirectAdmin

If the SSL option is disabled for the selected domain as shown in the screenshot below, you need to enable it by clicking ‘here’:

Install Let’s Encrypt SSL using DirectAdmin

If you properly enabled Let’s Encrypt, you will see the ‘Free and automatic certificate from Let’s Encrypt’ option. Check the check-box next to the Let’s Encrypt option and enter all necessary details for your domain below:

Install Let’s Encrypt SSL using DirectAdmin

Then click the ‘Save’ button and a free Let’s Encrypt SSL certificate will be automatically installed.

Finally Restart the web server for the changes to take effect:

Congratulation’s! You have successfully installed Install Let’s Encrypt SSL DirectAdmin on CentOS 7. Thanks for using this tutorial for installing Let’s Encrypt SSL using DirectAdmin on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Apache Zeppelin web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
The Tags: