Virtualmin GPL CentOS 7
I've managed to successfully install and generate a Let's Encrypt SSL cert, in Virtualmin for virtual server mydomain.com
I want to generate a cert, in Webmin, for the System Hostname of server1.mydomain.com
In Webmin > Webmin > Webmin Configuration > SSL Encryption > Let's Encrypt I have in the 'Hostnames for certificate' field server1.mydomain.com and if I 'Request Certificate' I get:
Failed to request certificate : No virtual host matching server1.mydomain.com was found
This seems to imply that I need a Virtual Server set up for server1.mydomain.com, is this correct?
I remember seeing a reference to this somewhere on the net but I can't remember where.
So, is there a way to generate the cert for the System Hostname without having a virtual server set up? Or is there another route I need to take?