Chat2DB reports an error when connecting to the database and does not support TLS10

Using Alibaba’s open source database tool Chat2DB to connect to the sqlServer database reports an error

The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]: null

What he means is that the client prefers not to accept the protocol version TLS10[TLS13, TLS12] selected by the server: null. The suggestion given is to modify the java.security file in the Chat2DB installation directory, open it with text tools such as Notepad, and search for TLSv1 , TLSv1 .1.

The location of the java.security file: Chat2DB\resources\app\jre\conf\security\java.security

 Remove TLSv1 and TLSv1.1 in jdk.tls.disabledAlgorithms , or directly comment out the original jdk.tls.disabledAlgorithms configuration and rewrite the configuration without TLSv1 and TLSv1.1 below .

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, \
    DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL

Save and restart Chat2Db.

 

Guess you like

Origin blog.csdn.net/weixin_43604220/article/details/131591000