Home WebServer PanelDirectAdmin Install Free Let’s Encrypt SSL on DirectAdmin

Install Free Let’s Encrypt SSL on DirectAdmin

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

In today’s article, AZDIGI will show you how to enable the free Let’s Encrypt SSL feature on DirectAdmin. To provide an additional choice when you want to use SSL on websites.

I. What is Free Let’s Encrypt SSL?

Let’s Encrypt is a non-profit certificate issuer run by the Internet Security Research Group that offers X.509 certificates for free Transport Layer Security encryption. It launched on April 12, 2016.

According to Wikimedia – Let’s Encrypt.

From the above information, you can understand that Let’s Encrypt is an open, free and automatic certificate (CA) that works for the benefit of the community. This is a service provided by the Internet Security Research Group (ISRG). Instead of before, you want to use SSL, you have to register through many different agencies and most of them are paid certificates.

II. Enable the Let’s Encrypt feature on DirectAdmin

Note: This feature is only available when your DirectAdmin version is equal to or higher than version 1.50.1.

To check and update the DirectAdmin version, please refer to the following instructions:

To enable the LetsEncrypt feature on DirectAdmin, we need to follow 2 steps:

Step 1: SSH into your DirectAdmin system

To enable LetsEncrypt on DirectAdmin, we first need to SSH or access your VPS/server with root privileges. If you don’t know how to SSH into your VPS/Server, you can refer to the following tutorial:

After successfully SSH, we continue with step 2 to execute the commands to enable the LetsEncrypt feature on DirectAdmin.

Step 2: Commands to enable LetsEncrypt feature on DirectAdmin

To enable the Let’s Encrypt feature on DirectAdmin, execute the following commands: I will explain the following commands.

AZDIGI Tutorial
echo "letsencrypt=1" >> /usr/local/directadmin/conf/directadmin.conf
echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue; /usr/local/directadmin/dataskq d2000
cd /usr/local/directadmin/custombuild

./build rewrite_confs
./build update
./build set_fastest
./build letsencrypt
    

Explanation of the above commands:

  • Command 1: Add the letsencrypt option to DirectAdmin‘s configuration.
  • Command 2: Restart DirectAdmin.
  • Command 3: Move to custombuild directory.
  • Command 4: Rewrite the default configuration.
  • Command 5: Update custombuild script.
  • Command 6: Automatically select the fastest download server.
  • Command 7: Install Let’s Encrypt

Here is my installation process:

enable the LetsEncrypt feature on DirectAdmin
After running command 1, we can check again with the command “cat /usr/local/directadmin/conf/directadmin.conf | grep let” to ensure it was added successfully.
enable the LetsEncrypt feature on DirectAdmin
Command 2: Restart DirectAdmin.
enable the LetsEncrypt feature on DirectAdmin
Command 5: Update custombuild script.
enable the LetsEncrypt feature on DirectAdmin
Command 6: Automatically select the fastest download server.
enable the LetsEncrypt feature on DirectAdmin
Command 7: Install Let’s Encrypt

As shown above, the installation is complete.

Now we can completely install free SSL by accessing User Level -> SSL Certificates.

Below is the interface before enabling the Let’s Encrypt feature on DirectAdmin.

enable the LetsEncrypt feature on DirectAdmin

And enable the LetsEncrypt feature on DirectAdmin.

enable the LetsEncrypt feature on DirectAdmin

To install SSL, you just need to choose a Free & automatic certificate from Let’s Encrypt.

III. Summary

Hopefully, this article will help you install many SSL certificates for many websites without having to spend extra money to buy SSL. Thereby helping to secure the data exchanged between the website and users on the internet.

Hope this article will be of help to you. Wishing you success!

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign