I had the webmin under webmin.mydomain.com with a valid ssl and after i add the mydomain.com in virtualmin as vserver, then the webmin on webmin.mydomain.com inherits the mydomain.com ssl. So, webmin ssl breaks down on (my) port 10000.
I tried to re-request the Lets Encrypt at webmin and nothing changed… broken ssl again.
Into /etc/webmin/miniserv.conf exists the ssl paths of webmin and all of the domains from virtualmin (vservers) too.
So, if there is a record for *.mydomain.com then webmin uses that ssl instead of the webmin native paths.
The webmin’s ssl paths are stored in variables below
So, if you have a vserver with a domain (eg. mydomain.com) that a subdomain of it is used for webmin (eg. webmin.mydomain.com) then you need to create 3 records on the bottom of the file (after the mydomain.com vserver ssl paths) identical with the vserver domains’ ssl patterns. So, i added the following…