The message i am getting is "Adding the certificate to the trusted root certificate store failed with the following error" and then it says "Failed with an error."
And there is no other information!
Any help would be greatly appreciated.
I have created new projects using the standard templates, and still the same problem without changing anything....
An SSL certificate error occurs when a web browser can't verify the SSL certificate installed on a site. Rather than connect users to your website, the browser will display an error message, warning users that the site may be insecure.
If your computer has the wrong date and time set, this can cause certificates to appear invalid & your web browser will begin to issue security warnings. If you notice that the Date and Time is continually incorrect even after manual adjustment, your machine may need to be serviced to replace its CMOS battery.
This often means that the security certificate was obtained or used fraudulently by the website. A website is using a certificate that was issued to a different web address. This can occur if a company owns several websites and uses the same certificate for multiple websites.
You have developed web applications through Hypertext Transfer Protocol Secure (HTTPS) by using the release version of Visual Studio 2015, Update 1 or Update 2. However, after you install Visual Studio 2015 Update 3, you start receiving warnings about an untrusted certificate.
If you have come across this post it is likely that you have found yourself faced with a problem that most ASP.NET developers who use Visual Studio or Visual Studio Code eventually hit: the periodic expiration of the self-signed SSL certificate used for developing applications over HTTPS.
In most cases this deadline does not create significant problems: Visual Studio will automatically notice that that certificate has expired and will create a new one (obviously asking once again for the user's consent).
To solve this problem, the best way to go is to get rid of the expired certificates. In order to do that, simply carry out the following operations: Press the WIN + R keys, so that the Run window appears. Type mmc and press OK to launch the Microsoft Management Console tool.
in command prompt type where.exe dotnet if display like this:
C:\Program Files (x86)\dotnet\dotnet.exe
C:\Program Files\dotnet\dotnet.exe
you need move up C:\Program Files\dotnet\dotnet.exe in Start Menu - Edit the System Environment variables - Environment Variables - Path - Edit
after maybe need create certificate dotnet dev-certs https --trust
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With