Error message "The server selected protocol version TLS10 is not accepted by client preferences"

Viewed 107540

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 (IPKVM) or whatever it is called, so I can install a new operating system).

I am 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

7 Answers

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.

The 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

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.

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.

Problem: TLS 1.0 is not supported in Java 1.8 and above. To connect to SQL Server 2014 and below servers, you need to send TLS 1.0 connection.

Solution: if you downgrade your project to Java 1.7 version this problem will be solved. The JDBC driver version you are using should be 4.2.

Solution for Java 1.7 SSL connection issue:

You will get an error when you query websites with SSL certificate in Java 1.7 version. To fix this error; Download the site’s .cer certificate. Next (note we are talking about JRE file here), write “keytool” in the carsets file at %path_java_jre\lib\security. Your connection problem will disappear.

Related