Certificate name mismatch

My domain is: allmyloveyogurt.com

My web server is (include version): Debian 10

I can login to a root shell on my machine: yes

I'm using a control panel to manage my site: no

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

My problem is, the ssl of www wasn’t working.
So I added the www domain to my cert, and now both can’t work🥲
It shows net::ERR_CERT_COMMON_NAME_INVALID
Can anyone help :pray: thanks a lots!

1 Like

It looks like it is working from here.

Subject allmyloveyogurt.com
Fingerprint SHA256: 5d63ef8a3196c2c4e832d74927ca0094f05ce29ff7f6f7906698578ab242b62b
Pin SHA256: 7KkhAE2l7SZOSd3sBNZbmXJ6uXthSi+7lvEsYjxTs5g=
Common names allmyloveyogurt.com
Alternative names allmyloveyogurt.com www.allmyloveyogurt.com

4 Likes

Hi @cindywill317 welcome to the community!

I concur with @TheEggman ...

http://www.allmyloveyogurt.com ->> https://www.allmyloveyogurt.com/ ->> https://allmyloveyogurt.com/

Your "www" vhost is working and redirecting to your apex domain (https://allmyloveyogurt.com)

And Certificate chain is correct.

3 Likes

I agree, allmyloveyogurt.com as wel as www.allmyloveyogurt.com send the correct certificate.

3 Likes

Welcome back, Maxine! :slightly_smiling_face:

I too have checked your certificate chain with SSL Labs and your redirects with redirect-checker.org. Everything appears to be in order.

2 Likes

Hi, thank you guys for replying!
Glad to know everything's fine now.
I guess it's because I re-certificate both of them by using this command
''''sudo certbot --apache -d mydomain.com -d www.mydomain.com''''
Looks like it worked perfectly... :disappointed_relieved: :dash:
Anyway, thank you all for checking! :slight_smile: :two_hearts:

2 Likes

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