DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

DirectAdmin: How to force Let's Encrypt to use DST Root CA X3

| 17:41:08 16.12.2022

This is a solution for servers with DirectAdmin and custombuild only.

Here is a patch for Let's Encrypt script from DirectAdmin to force it to use "DST Root CA X3" instead of "ISRG Root X1" when issuing SSL certificates:


For installation run as root:

mkdir -p /usr/local/directadmin/custombuild/custom/hooks/letsencrypt/post/
cd /usr/local/directadmin/custombuild/custom/hooks/letsencrypt/post/
wget -O poralix_patch_chain.sh https://raw.githubusercontent.com/poralix/directadmin-utils/master/letsencrypt/poralix_patch_chain.sh
chmod 750 poralix_patch_chain.sh
/usr/local/directadmin/custombuild/build letsencrypt

The patch will be applied automatically every time by running command:

/usr/local/directadmin/custombuild/build letsencrypt

or you might execute the sctipt manually as needed:

/usr/local/directadmin/custombuild/custom/hooks/letsencrypt/post/poralix_patch_chain.sh

or with cron.

That's it.

About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition