Connection is not private in localhost
asp.net
Solution
I know it's a bit old post. However, I have been searching for more than an hour to find a solution to this trivial yet irritating problem and I just found a solution.
- You need to export the certificate from chrome. Open the url. Click the lock icon > Certificate Information > Details tab > Hit Copy to file.
- You need to import the certificate into Windows. Open Run (Windows button + R) > type `certmgr.msc` > Expand to Trusted Root Certifications Authorities | Certificates > Action (from the menu bar) > All Tasks > import (now import the file you exported from the previous step).
This worked for me.
Problem
I am getting an error while debugging a asp.net web application . It says "Your connection is not private Attackers might be trying to steal your information from localhost (for example, passwords, messages, or credit cards)".This server could not prove that it is localhost; It's security certificate is from some other machine .What steps should I follow to fix this? Is there a problem if I continue anyway ? Since it is just on localhost.