Editar:
$JAVA_HOME/conf/security/java.security
Remover os valores TLSv1 e TLSv1.1 do parametro jdk.tls.disabledAlgorithms
Exemplo:
jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, \ DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL
Este procedimento é necessário em casos, por exemplo, com conexão com SQL Server que trabalha com versão TLS 1 e exibe o seguinte erro ao tentar se conectar:
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 [TLS13, TLS12, TLS11]". ClientConnectionId:aa9b314f-e339-4347-93ec-96085c0de28b [SQL State=08S01]