Don’t know this is a right way to go.?
Managed to get for (subdomain) vps.domain.tld a LE cert on WEBMIN this way.
So created a virtualmin server for maindomain first: domain.tld
Then created a virtualmin server for the hostname/server itself: vps.domain.tld.
Sofar i remember then created a LE cert in maindomain: DOMAIN>TLD where i did manual added the VPS.DOMAIN.TLD.
Then the steps i don’t remember the orderor i did first after this.
Copy cert to webmin
Tried to get ssl LE cert on VPS.DOMAIN.tld itself.
Checked webmin and LE cert on webmin port 20000 and 10000 worked.
Then deleted the virtualmin server VPS.DOMAIN.TLD
While the LE cert Webmin itself is created with maindomain ( DOMAIN.TLD) with added subdomain for hostname server VPS.DOMAIN.tld in it, and also this "maindomain"is the domain to serve as default.
This works out for me sofar. ( OYEA remember you have to have ofcourse a resolving DNS record somewhere for that Subdomain, we have this at third party DNS service)
I didn’t want a virtualmin server for the host ( hostname > vps.domain.tld) itself if possible?
Result here is the LE CERT is on maindomain used for the hostname server.maindomain.tld having also the subdomain manually added to maindomain letsencrypt cert. So not complaining anymore about domainname is not… , domain is default served ofcourse.
Yes mailprobs with installer as mentioned in other topic als de sasl probs, and PHP FPM package if not in a base php directory location) and so on but the LE cert seems to work
WITH LE cert also new domain new virtualmin server the problem with the mail.newdomain.tld , i had to create first a subserver for mail.newdomain.tld before i managed to get the mail.newdomain.tld in the same LE cert.
Though the mail.newdomain.tld was already longer and resolving in de external third party DNS.
You need to do this also ( create a subserver in virtualmin for mail…) to get a working DKIM for mail.newdomain.tld!
NO DNS used here on the Virtualmin server only all third party DNS! ( IPv4 and IPv6 CSF firewall)
Joe you asked to post experiences with new version so this is one.
(Important is here a resolving DNS for that virtualmin/webmin hostname domain.tld third party external DNS should work to)
Installed 25-08-2017, tried more newer test installations after that date 31-08 and so on but they failed at diferent points.
So used snapshot function to get the one succesfull back working. ( you can find more of these kind of probs in forum here as, https://www.virtualmin.com/node/53531 and )
( centos 7.3 with patches, codeitguru http2 apache repo, remi php repo, mariadb direct repo, repel repo and then virtualmin installer script repo exluded manual the http and php things in virtualmin repo)