Forum Discussion

Marius_Roma's avatar
Marius_Roma
Brass Contributor
May 13, 2023

NET::ERR_CERT_COMMON_NAME_INVALID

In a clean lab environment I installed 2 Windows Server 2019 servers.
On the first server I installed:
- Active Directory Domain Services
- Active Directory Certificate Services with:
- Certification Authority
- Certification authority Web enrollment
I joined the second server to the same AD domain and installed
- IIS
From IIS I attempted to get a certificate using either:
- Create domain certificate
- Create certificate request
I attempted associating either certificates to the Default Web site but I go on getting the same error:

NET::ERR_CERT_COMMON_NAME_INVALID

that means:

This server couldn't prove that it's myserver.mydomain.local; its security certificate does not specify Subject Alternative Names.
This may be caused by a misconfiguration or an attacker intercepting your connection.

Am I missing any relevant step?
How can I solve the problem?
Regards

Resources