Home WebServer PanelDirectAdmin Install ZeroSSL on DirectAdmin

Install ZeroSSL on DirectAdmin

by Thạch Phạm
Published: Last Updated on
A+A-
Reset
Install Zero SSL by default instead of Let's Encrypt on DirectAdmin

On September 30, 2021, millions of devices worldwide suddenly could not access websites because websites used free Let’s Encrypt SSL certificates. Specifically, Let’s Encrypt’s DST Root CA X3 root certificate expired and they replaced it with ISRG Root X1. This is why devices using the old operating system cannot access it. So another alternative is to upgrade your device’s operating system or use a paid SSL certificate provided by another organization.

However, in this article, AZDIGI doesn’t guide you to install paid SSL but instructs you to convert Let’s Encrypt to another SSL organization called Zero SSL; of course, it’s free.

Screenshot 2021 10 23 at 14.07.39

By default on DirectAdmin, you will use Let’s Encrypt to install SSL for websites, but it is no longer suitable for users using the old operating system. Therefore this article will be a new solution for you to use SSL on DirectAdmin.

Please follow along.

Step 1: SSH into your DirectAdmin system

To upgrade the ProFTPD version 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:

Step 2: Install Zero SSL instead of Let’s Encrypt

Before installing, I will check the domain’s SSL certificate and compare it with the SSL certificate after installation.

I have a website under test called dotrungquan.site that uses the Let’s Encrypt SSL certificate checked at sslshopper

Screenshot 2021 10 21 at 18.56.00
Organization: Let’s Encrypt

Install Zero SSL on DirectAdmin

At the SSH window, copy and paste the following commands in sequence, and note that you should replace server.name.example.net with your domain.

AZDIGI Tutorial
# /usr/local/directadmin/custombuild/build update
# /usr/local/directadmin/custombuild/build lego
# /usr/local/directadmin/custombuild/build letsencrypt
# touch /root/.zerossl
    

After completing the above steps, you can install SSL. Now I will try to run the install command from the SSH window.

Note: Replace example.net with the domain name you need to install.

AZDIGI Tutorial
# /usr/local/directadmin/scripts/letsencrypt.sh request example.net
    
Screenshot 2021 10 21 at 19.20.51

So your SSL has been installed completely. In addition, you can install free SSL from the interface according to the following instructions:

At the DirectAdmin user interface, select SSL Certificates => Free & automatic certificate from Let’s Encrypt => Tick domain to install => Save

Screenshot 2021 10 21 at 19.07.53

If the installation is successful, you will receive the following message:

Screenshot 2021 10 21 at 19.10.05

Now I will go back to sslshopper.com and check, you will see that the certificate is issued by Zero SSL, not Let’s Encrypt.

Screenshot 2021 10 21 at 19.44.04

Alternatively, you can check directly from the browser.

Screenshot 2021 10 21 at 22.27.19

Uninstall ZeroSSL

If you don’t want to use ZeroSSL anymore and want to switch back to Let’s Encrypt SSL, just delete the .zerossl file and restart the service.

AZDIGI Tutorial
rm -rf /root/.zerossl
systemctl restart directadmin
    

Thus, AZDIGI has completed the instructions for Installing Zero SSL instead of Let’s Encrypt on DirectAdmin. Hope this article will be of help to you. Wishing you success!

See more useful articles about DirectAdmin at the following link:

If you need assistance, you can contact support in the ways below:

Đá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