0

I've been struggling with it the second day. I created a .NET 5.0 WebApi template in Visual Studio 2019 (simplest WhetherForecast). When I run the solution, the browser opens and I get the message (Firefox browser):

SecureConnectionFailed

The machine I tried to run it on has Windows 7 (SP1) installed, and based on what I read, it should still support .NET 5. However I think the problem is with some internet configuration itself, because when I go to about:config in Firefox, and change the setting security.tls.version.min from 3 (TLS 1.2) to 1 (TLS 1.0) then it opens fine. I already tried:

but without any luck.

I could of course switch to TLS 1.0, and Win7 setup is just temporary, but I'm curious what's the cause of this error. Any ideas?

Thanks!

Chris4D
  • 167
  • 4
  • 12
  • 2
    Are you sure it is actually running on .NET 5? Are you sure you have changed all the correct registry settings? Are you sure you installed [the relevant updates](https://support.microsoft.com/en-us/topic/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-winhttp-in-windows-c4bd73d2-31d7-761e-0178-11268bb10392)? I strongly recommend you move to a version of Windows which still has support for security updates, W7 went end-of-life 2 years ago – Charlieface Feb 27 '22 at 11:37
  • 1
    Instead of using third party websites with strange recommendations I would use the documentation provided by Microsoft: https://support.microsoft.com/en-us/topic/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-winhttp-in-windows-c4bd73d2-31d7-761e-0178-11268bb10392 – Robert Feb 27 '22 at 13:12

0 Answers0