The server selected protocol version TLS10 is not accepted by client preferences
Solution 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
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
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:
Solution 4
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 5
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
Related videos on Youtube
Frank Martin
Updated on July 09, 2022Comments
-
Frank Martin almost 2 years
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?
-
Eytan Naim over 2 yearsFor Linux environment the file is in /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security
-
circulosmeos over 2 yearsFor Java 64 bits the PATH is "C:\Program Files\Java\jre...\lib\secutiry\java.security"
-
SushantPatade about 2 yearsRemoving from jdk.tls.disabledAlgorithms did worked for me.