Stop LetsEncrypt hostname cert auto renew

peps03

Verified User
Joined
Oct 24, 2013
Messages
192
Location
Amsterdam
I set up SSL for the hostname using this guide previously:

/usr/local/directadmin/scripts/letsencrypt.sh request_single your.hostname.com 4096

As the server is behind Cloudflare it does not work anymore. So i switchend to using LEGO, which works great. I install the certs using another script. Thus, i'd like to stop the previously set LetsEncrypt auto renew, as it is failing every day with:

New Message: Error during automated certificate renewal for hostname

Following this guide: https://www.directadmin.com/features.php?id=1828, the usage is:
usage: ./letsencrypt.sh request|renew|revoke domain.com 4096 (/path/to/csr-request-config-file) (document_root)

But, when trying to revoke:
/usr/local/directadmin/scripts/letsencrypt.sh revoke your.hostname.com 4096

I get hostname unreachable, yes, as it is behind Cloudflare and the reason why i want the LetsEncrypt auto renew to stop.

Any ideas on how to stop it?
 
If domain is pointing to the server (hostname), CloudFlare shouldn't break anything. If you'd like to stop auto-renewal, just remove file having .creation_time extension in /usr/local/directadmin/conf.
 
Back
Top