I recently migrated a virtualmin server (one site) to another server. The site on existing server was working perfectly with SSL on the website, email, virtualmin and usermin panels.
On the new server, the SSL certificate is working fine on email, virtualmin (10000) and usermin (20000) but it is not working on my website (https://website.com). The certificate is being shown as “self signed” instead of the purchased certificate.
I am still having the same issue. I deleted the entire server abc.com, then installed fresh CentOS, fresh Virtualmin, then just created a virtual server also called “abc.com”.
Then did CSR request, got the new certificates etc from commodo. Everything works fine for webmin, mails etc but website still shows invalid certificate. The entire public_html folder has single index.html file.
The only change between old server and new server is that:
old server hostname = xyz.com … virtual server = abc.com
new server hostname = abc.com … virtual server = abc.com