This is an old revision of the document!
https://techjourney.net/how-to-use-lets-encrypt-ssl-certificate-automatically-in-virtualmin-webmin/
domain.tld www.domain.tld mail.domain.tld autoconfig.domain.tld autodiscover.domain.tld
Virtualmin → <domain> → Server Configuration → Manage SSL Certificate → Let’s Encrypt (tab)
Request certificate for → Domain names listed here → <list of Subject Alternative Names>
Months between automatic renewal → 2
Virtualmin → <domain> → Services → Configure Website → Aliases and Redirects
Permanent URL redirects → From → /
(slash)
Permanent URL redirects → To → https://www.yourdomainname.tld
The matching domain name must be included in the SSL certificate.
Virtualmin → <domain> → Server Configuration → Manage SSL Certificate → Current Certificate (tab) → Copy to…