Hi all, sorry to have to trouble you all again.
I am trying to transfer some virtual servers from an old Centos5 server to a new Centos 7 server. All is going well except for the SSL certificate for mail.domain.com. All other certificates for the domain are ok and trusted.
If I create a VS in Virtualmin (auto slave dns set up and working great) then request a Letsencrypt cert everything goes well including mail.domain.com. Testing the cert at www.digicert.com/help/ confirms that mail.domain.com is good and is trusted.
So I delete the VS in virtualmin and as expected, that works (including delete slave).
Then I return to the original host server (Centos 5) and use the " Transfer Virtual Server" (same domain, no certificate on this server) facility from the old server to the new server. That appears to go well.
On the new server I go into Server Configuration>SSL Certificate>Let’s Encrypt. In the field " Domains associated with this server" there is no entry for mail.domain.com so I enter that into " Domain names listed here" and paste the others from the default above. Then click on the “Request Certificate” and all appears to go well.
I have dug around for 6 hours trying to resolve this but without success.
Anyone have any clues how I can overcome this either by manually enabling the correct record or doing so automativally ? My hair is too short so I can’t pull it out.
Thanks for reading.