See also TLS/SSL Certificate Testing
https://doxfer.webmin.com/Webmin/Let's_Encrypt
Webmin → Webmin → Webmin Configuration → SSL Encryption
Requires HTTP server or DNS server hosting the domain
virtualmin install-service-cert --domain yourdomain.com --service webmin
Beware of rate limiting at Let's Encrypt. Don't run any more attempts than is absolutely necessary or you may have to wait an hour to try again.
index.html
or certbot
will faildomain.tld
or www.domain.tld
as mail serverdomain.tld www.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…