How can I stop virtualmin from trying to create the default host letsencrypt cert?

SYSTEM INFORMATION
OS type and version Debian Linux 13
Webmin version
Virtualmin version
Webserver version VPS
Related packages SSL Settings

I had to setup up a new server a couple of times and run into the problem of ‘too many certificate requests for exactly the same instance’ at letsentcrypt.

Letsencrypt gives me a time penalty of 168 h, but virtualmin tries by itself to get the certificate about every hour. Where can I tell virtualmin to be a little more patient?

Thanks a lot for your help.

We shouldn’t be trying over and over hourly after a failure. That’s got to be a bug.

@Ilia, any idea where we’d be requesting a LE validation for something that has already failed? We shouldn’t keep trying so much we get the user temporarily banned.

I’ve been looking into this for the past few hours, and I thought I knew exactly how to fix it, but I’m afraid it will take some more time to do it truly right. I will update this ticket with progress.

All right, I removed blind duplicate retries:

I also improved retry logic and throttling:

wonderful.

Thank you Ilia.