NET::ERR_CERT_COMMON_NAME_INVALID error

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: chicagotraffictracker.com

I ran this command: Googled www.chicagotraffictracker.com

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): Linux RHEL

My hosting provider, if applicable, is:

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

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

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

Hi, When I browse, chicagotraffictracker.com everything looks good, but when I browse www.chicagotraffictracker, I get the above error mentioned.

Letsencrypt certificate is issued to chicagotraffictracker.com(Not www.chicagotraffictracker.com)

Hi @Pradeep

the second line is the answer of your first line.

Create one certificate with both domain names.

There is a check of your domain - https://check-your-website.server-daten.de/?q=chicagotraffictracker.com - ~~40 minutes old.

Your chain is wrong:

Chain - duplicate certificates 1 CN=chicagotraffictracker.com
2 CN=chicagotraffictracker.com
3 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US

The first certificate is duplicated.

But first create a correct certificate.

Thank you for the quick reply @JuergenAuer and the website https://check-your-website.server-daten.de is very helpful.

I am curious why only this domain has this problem. We have www.chicagotraffictracker.com configured as server alias in the vhost configuration.

Also there are around 8 domains with similar configuration and certified with letsencrypt cirtificates, but have no issue accesing them.

Only difference between other domains and chicagotraffictracker.com is that, it is not configured to redirect to https://chicagotaffictracker.com when hitting chicagotraffictracker.com in the browser.

Thank you

You must use the correct command to create the certificate.

-d non-www-domain -d www-domain

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