Your connection is not private NET::ERR_CERT_COMMON_NAME_INVALID

前端 未结 8 1903
天命终不由人
天命终不由人 2021-02-04 06:32

I am facing strange issue on chrome while debugging local ASP.NET application on chrome. I am not able to open localhost without https. With Https it\'s giving

8条回答
  •  借酒劲吻你
    2021-02-04 07:21

    I was trying to run my first .net Core web app in chrome and had same error. Using Version 84.0.4147.135 of Chrome. To Resolve (quick fix),

    1. When you run the application you will see two options 'Advanced' and 'Back to safety' on page, shown by chrome browser.

    2. Click Advanced button, it will show you 'Proceed to localhost(unsafe)'. Click that and your application should work. (I know above one is not a actual fix. The actual resolution is about adding localhost certificate as trusted root certificate.)

    3. If you want to install certificate - When you will see error and if you click on error - 'NET::ERR_CERT_AUTHORITY_INVALID' it will show you certificate. Copy that and install into trusted root. I tried that however it didn't resolved my issue. I will update it if get resolution to this.

提交回复
热议问题