'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?
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:
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 |