Share via

Https issue

Scott Huang 3,511 Reputation points
2022-02-05T09:26:23.02+00:00

Hi,
I did successfully deploy the project to IIS https site but I have issue below to access the page

The following is the issue I have now
Your connection isn't private
Attackers might be trying to steal your information from www.???.com (for example, passwords, messages, or credit cards).
NET::ERR_CERT_COMMON_NAME_INVALID

Windows development | Internet Information Services
Developer technologies | ASP.NET Core | Other

Answer accepted by question author

Reza-Ameri 45,821 Reputation points Volunteer Moderator
2022-02-06T16:04:46.707+00:00

This is certificate error and it is due to misconfiguration of the SSL.
Make sure certificate issue to your domain and name is correct and make sure it is from trusted authority.
In case it is local project, you may add the server certificate to the trusted list.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce Zhang-MSFT 3,776 Reputation points
    2022-02-07T02:20:12.543+00:00

    Hi @Scott Huang ,

    Please check your certificate. Make sure it issue to your site domain www.???.com.
    171717-1.png

    Or check the Subject Alternative Name of certificate. Make sure there's a record of your domain. Like: DNS Name=???.com or DNS Name=*.???.com.
    171708-2.png

    The domain name must exist in both of the above points. If it does not exist, please contact your certificate provider to re-issue a certificate. If both exist, see if the certificate or the certificate's root certificate is added to the machine's list of trusted authority.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    Was this answer helpful?

    0 comments No comments

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.