'The server selected protocol version TLS10 is not accepted by client preferences

I am trying to run this JNLP file on Windows 10 to connect to a server (actually I am connecting to a dedicated server via KVM over IPMI or whatever it is called so I can install a new OS).

Getting error The server selected protocol version TLS10 is not accepted by client preferences.

Is there something I need to do in Java client to fix the error?

enter image description here

enter image description here

enter image description here



Solution 1:[1]

Go to folder C:\Program Files (x86)\Java\jre1.8.0_291\lib\security In file java.security find option jdk.tls.disabledAlgorithms and delete TLSv1

Solution 2:[2]

It appears that latest update on java11 has disabled TLSv1 and TLSv1.1

Here is the detailed documentation on how to enable it again. https://aws.amazon.com/blogs/opensource/tls-1-0-1-1-changes-in-openjdk-and-amazon-corretto/

Appearently I was caught in this issue because of jdk update today, and had hard time finding it. This can help.

Solution 3:[3]

Don't update on java11. Now a days TLS1.0 is outdated. The sites using TLS 1.0 and TLS 1.1 certificates for encryption will be marked as insecure in browsers.

So better to update the Transport security Layer(TLS) version in Sql server.

Please follow the links:

https://ganeshchandrasekaran.com/connect-to-sqlserver-tls-1-2-using-dbvisualizer-and-ssms-script-s-1362438bc949

https://support.microsoft.com/en-us/topic/kb3135244-tls-1-2-support-for-microsoft-sql-server-e4472ef8-90a9-13c1-e4d8-44aad198cdbe#:~:text=SQL%20Server%202019%20has%20the,to%20enable%20TLS%201.2%20support.

Solution 4:[4]

You can set it in jre inside SoapUI (if you are using it): Remove "TLSv1, TLSv1.1" from "jdk.tls.disabledAlgorithms" property in file ${soapui_home}/jre/conf/securityjava.security

Solution 5:[5]

First thing to do - Go to folder C:\Program Files\Java\jre1.8.0_291\lib\security In file java.security find option jdk.tls.disabledAlgorithms and delete TLSv1

If it still doesn't work make sure to have line

deployment.security.TLSv1=true

in file C:\Users\JavaUser\AppData\LocalLow\Sun\Java\Deployment\deployment.properties

Solution 6:[6]

Go to Control Panel, Program. CLick on Java (Java control Panel) go to Advanced, scroll down and check TLS 1.0 and TLS 1.1. Close your program and start it again.

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 Simas Joneliunas
Solution 2
Solution 3 Antonio Petricca
Solution 4 Petr FlĂ­dr
Solution 5 Vitaly
Solution 6 user17197023