Net::err_cert_common_name_invalid iis

Hi;

I installed the Let's Encrypt certificate in Windows Server 2012 (IIS 8) and when i try to enter in the web with the https it says "Your connection is not private", with error: NET::ERR_CERT_COMMON_NAME_INVALID

Issuer: Let's Encrypt Authority X3

Expires on: 28 ene. 2021

Current date: 30 oct. 2020

PEM encoded chain:
-----BEGIN CERTIFICATE-----
MIIF8jCCBNqgAwIBAgISAySCzOxHr8iIetx7hTP4nS2KMA0GCSqGSIb3DQEBCwUA
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0yMDEwMzAwOTEwMTFaFw0y
MTAxMjgwOTEwMTFaMCcxJTAjBgNVBAMTHGNsaWVudGVzLm1lbGxhZG9jYXJkb25l
ci5jb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCIhzuYFPLqnz6A
5D28eNXyykEN5wdFbK6+NjX175pW4ut6z/LfLYvsKZALhMwB5ip0n0PKDHUEZtVr
9FeNjo/3TA/ZMSUy+Ki6o/IANO2OIUheMyjj0ry1NYI8ey4yPiCASFM+NYgGMSI9
Ypf5NL2XyWPlSGn9zKcBctqbSp16BLETPCHwF3VYEgL4v9bHaejHl/SAEQQuNKxM
w7v/p4lKRs/P1Bd4rj6wLuGTqvfrMPIfR5+JH8Be6OBQDLhK4MOnFQtDpsVOU14k
oFnnEHl+9Fvo1pG8IwDHwlqqJ2GQiOZdLHHBkZEjrFLvYdIU5EOZxVYiClv1c4uU
9uh9FpoI8jyKIo9clgLGjWHgrJblxpwttbc+K/g0WEIk52uD0yGq7K/j+yBNnZ3H
7Vq4auis2jLwVW9Pp7B1IBLSgcijn4kKJxjyYe7HtA81b1R2FuP2AUWl6ilcCmMo
4F0gpKTu92uBC2lKyybL5GGTK0SCrRSAhiafS+fx8ZjLPVObn2sCAwEAAaOCAnMw
ggJvMA4GA1UdDwEB/wQEAwI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+DoM3ZJKuM/IUmTrE4O
rz5Iy2Xu/NMhD2XSKtkyj4zl93ewEnu1lcCJo6m67XMuegwGMoOifooUMM0RoOEq
OLl5CjH9UL2AZd+3UWODyOKIYepLYYHsUmu5ouJLGiifSKOeDNoJjj4XLh7dIN9b
xiqKqy69cK3FCxolkHRyxXtqqzTWMIn/5WgTe1QLyNau7Fqckh49ZLOMxt+/yUFw
7BZy1SbsOFU5Q9D8/RhcQPGX69Wam40dutolucbY38EVAjqr2m7xPi71XAicPNaD
aeQQmxkqtilX4+U9m5/wAl0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNV
HQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMSnsaR7LHH62+FLkHX/xBVghYkQMA0GCSqG
SIb3DQEBBQUAA4IBAQCjGiybFwBcqR7uKGY3Or+Dxz9LwwmglSBd49lZRNI+DT69
ikugdB/OEIKcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXr
AvHRAosZy5Q6XkjEGB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZz
R8srzJmwN0jP41ZL9c8PDHIyh8bwRLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5
JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubSfZGL+T0yjWW06XyxV3bqxbYo
Ob8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ
-----END CERTIFICATE-----

1 Like

Hi and welcome!

That cert has only one name on it:


What is the URL that you found this error message on?

READERS: Get involved and participate: If you read something you like, then click to like it :heart:

2 Likes

I'm trying to visit the website in the webserver (With localhost:443) and then it appears that error.

1 Like

https://localhost:443/ ? ? ?
That won't work.
That name is not on that cert (and never will be).

You need to use: https://clientes.melladocardoner.com/ to access that site.

2 Likes

You may need to adjust the DNS resolution for that name locally to the internal IP (or 127.0.0.1) if the FQDN will not work when it resolves to the Internet IP (46.26.214.72).
You can do this within the Windows Hosts file (located in c:\windows\system32\drivers\etc\ folder).
OR
You can enable NAT loopback (hairpinning) on your router [not recommended].

READERS: Get involved and participate: If you read something you like, then click to like it :heart:

2 Likes