Your connection is not private NET::ERR_CERT_COMMON_NAME_INVALID

前端 未结 8 1901
天命终不由人
天命终不由人 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:05

    You can copy this tag and add to Google Chrome shortcut to bypass this warning permanently.

    --ignore-certificate-errors

    Updated - March 2020: Adding the above tag to Google Chrome shortcut does not work anymore. In order to temporarily turn off or bypass this annoying warning from Google Chrome, to go chrome://flags and search for this following entry:

    Allow invalid certificates for resources loaded from localhost

    After that, enable the option and restart your Google Chrome browser. By doing so, you can bypass the alert as long as you want until you turn off the option.

    Source: Fix Your Connection Is Not Private Error In Your Browser

    0 讨论(0)
  • 2021-02-04 07:10

    Finally banging head on desk for two days I found this setting in chrome://flags/ to Allow invalid certificates for resources loaded from localhost. finally no disable all certificate error, only for localhost. Adding answer for someone struggling with same issue.

    0 讨论(0)
  • 2021-02-04 07:15

    Just when the page loads, don't click on page and type: thisisunsafe.

    Page will automatically refresh and will load the content.

    0 讨论(0)
  • 2021-02-04 07:17

    I ran into this error and my problem turned out to be Charles (it's a web debugging proxying app). I needed to install a SSL Proxy Certificate for Charles.

    1. Go to Help menu
    2. SSL Proxying -> Install Charles Root Certificate
    3. Open Keychain Access and enable/allow it

    If you don't use Charles then obviously this answer doesn't help you at all.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-02-04 07:24

    We have found that the best (and only) way to override Chrome is to type the phrase thisisunsafe at the Chrome generate webpage that blocks you. We have servers on an internal network which use SSL but which are not externally signed and this is the only way to get to them.

    0 讨论(0)
提交回复
热议问题