Refer to this topic too - virtualmin.com/node/54272
I’m having the same problems. I’m on the latest version and am using ubuntu 18.04.1 as the base.
I have used one of my websites that I’m hosting as a reference. Basically the methodology I used was this:
Old Webserver(Cpanel) -> Create full backup -> migrate backup into Virtualmin
I thought everything was ok, however I’m having two issues - although dealing with just this one here, will open another topic for the other soon.
So after migrating the server, everything looked ok. I then went to enable ssl, and was trying to ensure wildcards were supported, but this doesn’t seem to be possible from the UI. However I went in and specified the domains and sub-domains to be included. Strange though, if going into the base domain(url) the certificate is correct, however going into webmail.domain.zzz it seems not to picking up the correct certificate:
Current certificate in virtualmin: https://i.imgur.com/V7QuAhY.png
Letsencrypt section: https://i.imgur.com/YZqaUV5.png
Certificate on base domain: - which is correct: https://i.imgur.com/xPSgAaw.png
Certificate on webmail.basedomain.zzz - which is not correct: https://i.imgur.com/xMRi37o.png
Also I checked the mail settings and this is what I found:
SMTP which is correct: https://i.imgur.com/hIegpK1.png
POP which isn’t corret: https://i.imgur.com/11BL3Wf.png
So I’m really confused, and trying to find a solution. Hopefully we have some virtualmin guru’s out there that can point me in the right direction…