JDBC: connection to pre-TLS DBs may fail

Details

Detail name Value
Changelog Number 15319
Type Bug
Status Open
Affected Versions Exasol 7.1.0

Description

The JDBC Driver is not able to connect to a database with does not have TLS support (<6.2.15, <7.0.10) and has the -forceProtocolEncryption=1 parameter set.

In these cases, the following error is shown

Connection exception - Client connection must be encrypted

Workaround

  • Use legacy encryption legacyencryption=1 in the connection string (JDBC DOC).
  • Update the database to a version with TLS support (6.2.15+, 7.0.10+, and 7.1.0+)

Fix

For database versions without TLS support, the driver automatically switches to legacy encryption.