Share via

Generating a Certificate

Lucas Peñaloza 531 Reputation points
2026-04-28T20:33:55.9533333+00:00

Dear,

     We have the following message, when trying to navigate the website: 

User's image

We have our site hosted on an IIS server!!!.

We want to know what would be wrong?.

User's image

Perhaps we entered the name incorrectly on the certificate?

User's image

We see that the certificate is valid!!!.

User's image

User's image

What could be causing this error?

We were looking for information that details

The Common name property should be filled in with the server name (either a NetBIOS name or

FQDN) upon which the website will be answering requests. If the server’s name in the URL

being requested by a client does not match the common name in the certifi cate presented by

the server, the client will show an error!!!!.

But what is the common name?

Is this the information found in this field?

User's image

And this must be:

befancatalogo.personal.corp

Can you help us?

Windows development | Internet Information Services
0 comments No comments

3 answers

Sort by: Most helpful
  1. Lex Li 6,042 Reputation points
    2026-05-01T18:12:38.9666667+00:00

    In short, don't use IE for testing which reached end of life a while ago (since 2022),

    https://learn.microsoft.com/lifecycle/faq/internet-explorer-microsoft-edge

    You should use a modern browser that actually validates the certificates with modern rules.


  2. Tom Tran (WICLOUD CORPORATION) 4,860 Reputation points Microsoft External Staff Moderator
    2026-04-29T03:52:55.98+00:00

    Hi @Lucas Peñaloza ,

    Thanks for sharing your details.

    From your screenshots, this looks like a certificate name mismatch.

    The site is being accessed as:

    https://befancatalogo.personal.corp

    But the certificate configured in IIS appears to be issued to:

    catalogo.personal.corp

    Those names are different. A certificate can appear valid and still show a browser warning if the hostname in the URL is not included in the certificate. Microsoft’s IIS SSL guidance notes that browsers check the certificate validity period, trusted issuer, and whether the certificate Common Name matches the host header in the request.


    Regarding your question about the Common Name, the field you pointed to is the Friendly Name. That is only a local label in Windows/IIS and is not used by the browser to validate the website name.

    To check the actual name used by the certificate, open the certificate and look at:

    • Details > Subject
    • Details > Subject Alternative Name (SAN)

    If users need to access the site as befancatalogo.personal.corp, then befancatalogo.personal.corp should be included in the certificate, preferably in the Subject Alternative Name (SAN) field.


    If both names are required, then the certificate should include both:

    • catalogo.personal.corp
    • befancatalogo.personal.corp

    After that, make sure the correct certificate is selected in the IIS HTTPS binding.

    If the issue still persists after using a certificate with the correct hostname, then it would be worth checking the IIS binding configuration, such as SNI or whether multiple HTTPS sites are sharing the same IP address and port. But based on what is shown in the screenshots, the name mismatch already explains the browser warning.


    If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance provide feedback.


  3. Q&A Assist
    2026-04-28T20:34:19.11+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error occurs because the hostname in the browser URL does not match the name(s) on the SSL certificate.

    In the screenshot, the site is accessed as:

    https://befancatalogo.personal.corp/

    But the certificate is issued to:

    catalogo.personal.corp

    Browsers validate that the requested host name matches either:

    • The Common Name (CN) in the certificate’s Subject (older behavior), or
    • One of the Subject Alternative Name (SAN) DNS entries (current behavior).

    If befancatalogo.personal.corp is not present as CN or in SAN, the browser shows:

    The security certificate presented by this website was issued for a different website’s address.

    So, in this case:

    • The common name is the value shown as Issued to (and in the Subject field), which is catalogo.personal.corp.
    • Because the site is bound in IIS with host name befancatalogo.personal.corp, the certificate is considered invalid for that URL.

    To fix the problem, use one of these options:

    1. Change the URL to match the certificate
      Access the site as https://catalogo.personal.corp/ (and ensure DNS resolves that name to the IIS server).
    2. Request/issue a new certificate with the correct name(s)
      • Make befancatalogo.personal.corp the CN, or
      • Add befancatalogo.personal.corp as a DNS entry in the SAN list (and optionally keep catalogo.personal.corp as well).
      • Install the new certificate in IIS and update the HTTPS binding to use it.
    3. Use a SAN certificate that covers both names if both URLs must be supported. The SAN list must include every hostname clients will use.

    This behavior matches the documented cause where the URL being accessed is not listed in the certificate’s Subject or SAN, which leads to a name mismatch warning.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.