How to disable Let's Encrypt for the hostname

Modified on Wed, 13 Oct 2021 at 09:00 PM

If you want to replace the certificate for your hostname with a custom certificate but you had enabled Let's Encrypt, you will need to disable Let's Encrypt for the hostname first. The following command let's DirectAdmin know that it does not need to renew the Let's Encrypt certificate. This is required as DirectAdmin will renew the certificate +/- 60 days after the last renewal, even when the Let's Encrypt certificate is not installed.

rm -rf /usr/local/directadmin/conf/ca.san_config
rm -rf /usr/local/directadmin/conf/cacert.pem.creation_time

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article