'Getting SSL error "Unsupported protocol" when running in Visual Studio
I am trying to build a Blazor application and I always get the following error : "This site can’t provide a secure connectionlocalhost uses an unsupported protocol. ERR_SSL_VERSION_OR_CIPHER_MISMATCH Unsupported protocol The client and server don't support a common SSL protocol version or cipher suite."
My Chrome browser is up to date. I tried with Edge but the same error ! I tried the following link, too : https://phoenixnap.com/kb/fix-err-ssl-version-or-cipher-mismatch
Until a day all was working fine and I don't know what happened... If I run the same application on another Windows 7 PC, it is working fine... Can you help me, please ? I will put here a screen capture :
Solution 1:[1]
Same problem for me.
Working with VS19
Tried a lot of things such as:
- deleting localhost certificates,
- repairing IIS Express 10,
- clearing browser data and certificates cache,
- deleting .vs folder,
- allowing every TLS and SSL options in the browser
My .NET Core web apps are working under IE. So my guess is also that it's a Chrome update problem. But I haven't found how to fix that. :-(
Solution 2:[2]
Experienced the same issue. Managed to get it sorted by downloading IIScrypto and enabling the Best practices TLS and Cipher versions.
Solution 3:[3]
You can use firefox Firefox: about:config "tls" > security.tls.version.min=1. Reset to 3 after completion.
Install Firefox.
Type "About:config" in the address bar and hit return.
Click "Accept the risk" and continue.
Type "tls" in the search bar and hit return.
Click the pencil icon at the far right of "security.tls.version.min" to edit the cutoff setting prevening your login, which is currently 3.
Type "1" and hit return.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | ouflak |
Solution 2 | Martin Smith |
Solution 3 | Mostafa Khalil |