LetsEncrypt auto renew in Webmin

SYSTEM INFORMATION
OS type and version EL10
Webmin version 2.641

Just noticed LE not auto renewing on Webmin only system.

Setting Months to renew to 2 then either Request Certificate or Just update renewal gets this:

Failed to request certificate : An ACME directory URL must be entered when using External Account Binding

Previous threads on this topic went unanswered.

I don’t have plain Webmin so I’m not sure if I see the same thing you do. Are you running a webserver? I seem to recall there was a code fix to allow for the cert even if not running one. Though if this is a renewal…

What options are you using, I would think last option would work fine.

Webmin only can use certbot standalone. And does, But the auto -renew is stuffed.

You can see the option “Certbot built-in server” It’s already selected as in Stefan’s post below yours.

If last option is the “Months between automatic renewal” - that is what causes the error message.

The " External Account Binding" puzzled me. I did a little research and the AI generated summary seemed to make sense. But, I scrolled down and found ‘the source’ as it were.

Don’t have time to read all that, I just reported an issue that I am having.

Will it get fixed? No idea.

Ok, I just noticed that you can’t select a SSL Provider, LetsEncrpyt is not mentions in the form unlike Virtualmin, @Jamie or @Ilia is this a bug?

Webmin

Virtualmin option

More like a missing feature - only Virtualmin supports multiple SSL providers, Webmin only supports Let’s Encrypt.

Right, OP error indicates the letsencrypt url directory is not being used automatically.

Yes, however, the latest versions of Webmin should include a way to configure any other ACME-compatible provider.

It’s not as simple or as flexible on a per-domain basis as Virtualmin Pro, but it still works.

I added this feature after a user requested it. See the advances “Provider settings” in the screenshot below:

Have you tested putting a number in “Months between automatic renewal”?

Ugh, gosh! You’re right—there was a bug. It’s really surprising how long it was there! Thanks for the tip! Fixed in this PR: