Lets encrypt ssl certificate for webmin only - renew by cron job?

ubuntu 20 REQUIRED
20.04.6 REQUIRED

I used certbot -d fmpconnect.com --manual --preferred-challenges dns certonly successfully install and ssl certificate for webmin only.

the renew configuration entails are

version = 0.40.0
archive_dir = /etc/letsencrypt/archive/webmin.fmpconnect.com
cert = /etc/letsencrypt/live/webmin.fmpconnect.com/cert.pem
privkey = /etc/letsencrypt/live/webmin.fmpconnect.com/privkey.pem
chain = /etc/letsencrypt/live/webmin.fmpconnect.com/chain.pem
fullchain = /etc/letsencrypt/live/webmin.fmpconnect.com/fullchain.pem

Options used in the renewal process

account = d423614b70290d2f65188649065e75e2
pref_challs = dns-01,
authenticator = manual
manual_public_ip_logging_ok = True
server = https://acme-v02.api.letsencrypt.org/directory

is it possible to set up a cron job to renew this automatically if I change the authenticator = manual entry?

can’t you use webmin to do that?

Apache is not running. This to be used only for making a connection to Webmin secure.

nginx is , but ports 80 and 443 have been commandeered by other software (Claris Server) which will have its own SSL certificate

So validation via DSN seems to be the best way to do it, but as far as i can tell you have to manually create a new DSN TXT record each time the SSL is renewed.

The DSN is on Cloudflare, which has an API - but I am looking DSN service-neutral solution.

there are other options apart from apache, not sure how it works though.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.