I created a dev site on a tmp domain(domain.com) and created an SSL Cert via letsencrypt. Once I launched the site, I changed the domain to domain.com.
If I now try to create an SSL Cert for this new domain it always fails. Likewise, when the automated virtualmin server validation tool runs, it returns an error like this:
SSL website : The SSL certificate for this virtual server does not match domain.com or www.domain.com. Instead, it matches the hostnames : domain.de
Any solutions / ideas as to how I can rectify this?
I see… well if you dev the site locally or on whatever domain, make sure you copy only dbs and /public_html files, nothing else… that should make it work right a way with old cert, however I have no idea what cms is that - perhaps some additional settings needs to be re-viewed but I think you should be fine.
Ah I see… error is: SSL website : The SSL certificate for this virtual server does not match domain.com or www.domain.com. Instead, it matches the hostnames : domain.de means your certs are correct as live site is on .de domain, this means its correct to my understanding. You did upload your stuff to domain.de or you changed domain.com to domain.de? - that is the part I perhaps miss - understand.
sorry munklefish… I got this message: Your comment has been queued for review by site administrators and will be published after approval. As this can take hours or days… I would follow next time your reply otherwise contact me or jump on irc channel #virtualmin on freenode.