Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

kvm

jnlp

ipmi

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

like image 496
Frank Martin Avatar asked Apr 24 '21 18:04

Frank Martin


People also ask

What is JDK TLS disabledAlgorithms?

disabledAlgorithms and jdk. tls. disabledAlgorithm security properties to disable algorithms during TLS protocol negotiation, including version negotiation, cipher suites selection, peer authentication, and key exchange mechanisms.

What does SQL Server Driver error tls10 mean?

com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted by client preferences [TLS12]".

How to fix tls10 is not accepted by Java client?

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? 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.

How to update TLS protocol in Java?

Updating the TLS Protocol on server side should be preferred though. No need to create a file as the accepted answer. So just remove TLSv1, TLSv1.1 then apply and reconnect, it will work. Find the java.security file on your computer and edit it with any text editor, for example Notepad ++

How to change the TLS protocol in DataGrip?

Try adding TLSv1.1,TLSv1.2,TLSv1.3 to the enabledTLSProtocols setting in the Advanced tab like this: DataGrip Project Preferences Updating the TLS Protocol on server side should be preferred though. No need to create a file as the accepted answer. So just remove TLSv1, TLSv1.1 then apply and reconnect, it will work.


1 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

like image 171
Denis Danilov Avatar answered Oct 26 '22 07:10

Denis Danilov