I recently moved my website theoncloudshoes.com
to a new server using Virtualmin, but I’m having an issue with the SSL certificate. Sometimes, shows secure connection and some times show unsecure connection.
Working ok for me (ssl)
Did you wait for propagation?
That indicates you have two or more servers, and at least one is misconfigured and at least one is not.
This seems to agree with that guess:
$ host theoncloudshoes.com
theoncloudshoes.com has address 104.21.34.239
theoncloudshoes.com has address 172.67.166.86
theoncloudshoes.com has IPv6 address 2606:4700:3035::ac43:a656
theoncloudshoes.com has IPv6 address 2606:4700:3034::6815:22ef
Ah, these IPs are owned by Cloudflare, they are not your Virtualmin server. Thus, they are terminating the TLS connection, not your server. But, then when I look at the certificate, I see it is issued by Google’s certificate issuer. I don’t see how Virtualmin is involved at all. (Also confused. Cloudflare issues its own certificates for the TLS connections it terminates, you seem to have a quite complicated setup that seemingly has nothing to do with Virtualmin.)
It might not apply in this “Cloudflare” situation, but when I have DNS questions, here are a couple of sites I like to use to unravel mysteries…