dbeaver / cloudbeaver

Cloud Database Manager
https://dbeaver.com/
Apache License 2.0
3.39k stars 370 forks source link

Can not connect to SQL Server 2008, ERROR of TLS v1 #2112

Closed ChrisYuan closed 2 months ago

ChrisYuan commented 10 months ago

Describe the bug There is an issue about SQL Server 2008, I tried to connect it and report an error of TLS. I find a way to solve it in stackoverflow, see below:

  1. docker exec -it cloudbeaver-docker-name bash
  2. change the file '/opt/java/openjdk/conf/security/java.security', remove 'TLSv1, TLSv1.1' from [jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA]
  3. restart docker

For Cloudbeaver version 23.2.4 and 23.2.0

EvgeniaBzzz commented 10 months ago

Hi, @ChrisYuan! Thank you for bringing this to our attention. We will develop a solution in one of the future releases.

EvgeniaBzzz commented 10 months ago

Hi, @ChrisYuan! Please, try to enable 'Trust Server Certificate' or/and select desired TLS in Driver properties image image

LonwoLonwo commented 6 months ago

Hello @ChrisYuan

Please check the latest CloudBeaver version. We changed our Java version. Maybe it will help. Or take a look at this comment to solve your issue: https://github.com/dbeaver/cloudbeaver/issues/2112#issuecomment-1808282456

LonwoLonwo commented 3 months ago

Hello @ChrisYuan

Does this issue still exist for you?

ChrisYuan commented 3 months ago

Let me check, I don't know if It exists now

LonwoLonwo commented 2 months ago

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.