This site not secure - error message

My domain is
It has https but sometimes when users try to visit the site they get this message.

This site is not secure
This might mean that someones trying to fool you or steal any info you send to the server. You should close this site immediately.

The certificate expires end of January.
Please help :slight_smile:

Best wishes.

Hi @charlotte

checked your site via - Make your website better - DNS, redirects, mixed content, certificates , you see the problem:

Domainname Http-Status redirect Sec. G
β€’ 301 0.223 A
β€’ 301 0.223 A
β€’ 200 2.440 B
β€’ 200 2.227 N
Certificate error: RemoteCertificateNameMismatch

Both http versions redirect to https, this is good.

Your non-www version works. But your www version has an invalide certificate. Because:
24.01.2019 - 1 entry

your certificate has only one domain name, but you need a certificate with two domain names.

So how did you create this certificate?

Create one certificate with both domain names + and use this certificate.


In case you have not yet noticed: & both resolve to:
However, the cert at only has one of those names on it.
The other name will fail with that error; as the CN, nor the SAN, don’t cover that other name.

If you ran certbot, with:
then make that:
-d -d
[adjust for your particular ACME client syntax/requirement]


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.