My domain

I ran this command:GET

It produced this output:net::ERR_CERT_COMMON_NAME_INVALID

My web server is (include version):Apache

The operating system my web server runs on is (include version):debian 9+

My hosting provider, if applicable, is:google cloud

I can login to a root shell on my machine (yes or no, or I don’t know):yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):certbot 0.28.0

Hi @allans

you have created a certificate with both domain names ( ):
expires in 88 days, - 2 entries

But only your non-www version uses that certificate, not your www version.

Domainname Http-Status redirect Sec. G 301 0.144 A 301 0.067 A 301 0.310 N
Certificate error: RemoteCertificateNameMismatch 200 0.637 I 200 0.454 N
Certificate error: RemoteCertificateNameMismatch

And you have a redirect to another domain, there is the certificate wrong.

Looks like your vHost doesn't have a ServerAlias www-yourdomain.

What says

apachectl -S

unfortunately we are not using apachectl, apaache log is normal, no errors
we fixed alias or www issue
why are we getting the redirect 200 is having redirect becuase of wp multisite
multisite main domain has its own certificate though, which we expanded to include subdomains as well? Should be fine though

the same applies to the main site, certificate is valid and existing but the … says

Error - Certificate isn’t trusted, RemoteCertificateNameMismatch

Now there is a new check - - created 17.05.2019 13:37:20.

Now the certificate doesn't have the www version, instead the other domain:
expires in 90 days, - 2 entries

You have it defined. Or the wrong vHost is used.


What says

apachectl -S

First you should fix your vHost configuration then you should fix your certificates. Then the redirects.

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