I am using Webmin 1.990 and Virtualmin 6.17-3 Pro on a Ubuntu 18.04 VPS.
I have Let’s Encrypt certificates working (and automatically renewing) for all the Virtualmin servers.
I would like to install a Let’s Encrypt certificate for my Webmin/Virtualmin console.
I would also like to experiment with a Let’s Encrypt certificate for a “silly website” I also run on that server. I’m hopeful that I could combine that server’s dns name into the Webmin certificate.
Where an I find documentation for doing this? Many thanks.
Why? Just login to Webmin on the hostname of one of your Virtualmin managed domains. Webmin will use the cert for that domain name.
Webmin can request Let’s Encrypt certs for itself in Webmin the Webmin SSL configuration page, but it’s trickier, since it has less certainty about how things are setup than Virtualmin does.
I think this is automatically done during Virtualmin installation, if it can be done and the hostname resolves. (This automatic domain is a “free” domain for Pro users. And it can’t have mail, for some technical reasons that are the same reasons we tell people don’t name your server the same as a domain you’ll be managing in Virtualmin.)
I’m ambivalent about whether this is a good feature (mostly leaning toward “not a good feature”, but Ilia and Jamie like it, so it stays). I think I prefer keeping things simple and just using Virtualmin domain names to login to Virtualmin. Then you don’t have to ever think about the name of the server itself…which is mostly irrelevant.