Let's Encrypt sub domains (ftp / mail / smtp)

How do you request a let’s encrypt certificate for common subdomains that do not resolve to an actual website?

When I put the subdomains in the box " Domain names listed here" like so:


it says:
… request failed : Web-based validation failed : Failed to request certificate :

ftp.example.com challenge did not pass:

Invalid response from http://ftp.example.com/.well-known/acme-challenge/L8y8eGEETErS5s74RHH08RfdANe2ivxMNJGH71yQRoc: "

404 Not Found

Not Found


which makes sense, but how does one request a let’s encrypt in Virtualmin for these sub domains that are not used for a website?

Well, adding ServerAlias ftp.${DOM} to the Apache server template did the trick.

Please make this work out of the box :slight_smile:
This step shouldn’t be necessary