Bobcares

How to automate with SSL in DirectAdmin

by | Feb 21, 2023

Are you looking for a way to automate with SSL in DirectAdmin? Our experts have your back. Our DirectAdmin Support team is here to lend a hand with your queries and issues.

How to automate with SSL in DirectAdmin

DirectAdmin offers a feature called Automatic SSL Certificates that enables secure connections for domains as well as sub-domains on our server. However, several flags have to be enabled in order for this feature to work. Today, our experts are going to demonstrate how to automate with SSL in DirectAdmin.

How to automate with SSL in DirectAdminIn order to do this, the domain has to be using the Shared Server Certificate option on the SSL certificates page. In fact, this is the default option for new domains.

Before we begin automating SSL in DirectAdmin, we have to run the following commands to check if the required flags are enabled:

cd /usr/local/directadmin
./directadmin config | grep letsencrypt=
./directadmin config | grep pointers_own_virtualhost=
./directadmin config | grep admin_ssl_cert_per_vh=
./directadmin config | grep admin_ssl_check_retries=
./directadmin config | grep mail_sni=

If any of the commands do not return a value of 1, we have to set that specific flag to value 1 with the following command:

./directadmin set flagname 1

Similarly, we can easily disable the Automatic SSL certificate generation feature with this command:

/usr/local/directadmin/directadmin set admin_ssl_check_retries 0
service directadmin restart

To wrap things up, the Automatic SSL system in Directadmin is a key feature that secures our domains and sub-domains. With the proper configuration and setup, we can make sure our users have a secure connection to the server. Let us know in the comments if you need further help.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

To conclude, our Support Techs demonstrated how to automate with SSL in DirectAdmin with ease.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.