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?
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.
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]".
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.
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 ++
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With