Adding auto certificate renewal to automatic letsencrypt certificate section of virtualmin config

Hi, I have enabled automatic Letsencrypt certificates on domain creation. What I would like is to be able to set automatic renewal period, for eg. 2 months. Right now, after generating the cert, I still have to go and reapply for a cert in order to get the two month auto renewal to be set.

Also, in the Manage SSL certificate area, in the Letsencrypt section, can we have a save button to save settings without having to request a certificate?

Thanks for your help!

Closed (fixed)


Do you mean turning on automatic renewal, but without requesting a new cert at the same time?

Precisely. As well as being able to choose auto renewal and the number of months when you choose to get a letsencrypt cert when creating a domain in the "System Settings:Virtualmin Configuration:Request Let's Encrypt certificate at domain creation time ?" area.

Good idea - this will be possible in the next Virtualmin release.

Sweet thanks. I recently had another idea as well, is it possible to get a list of all the domains with certs, issuers, and expiry dates? If it can even be done...

You can use the virtualmin get-ssl API command to display information about a domain's cert. You'd need to write a shell script that calls it in a loop which iterates through all the domain names output by virtualmin list-domains --with-feature ssl --name-only

Thanks Jamie. I will give it try and see what kind of mess I can make of things. [NOTE: I am really good at that, but getting better and cleaning the messes up...]

A proper UI for this has been implemented, for inclusion in the next release.

Status: Active » Fixed

Thanks again, Jamie! You guys are awesome!! We can close this now if it has not already been done.

Status: Fixed » Closed (fixed)