Failed to connect to Azure SQL server from android due to TLS version mismatch using jtds connection

Daiya 0 Reputation points
2024-07-23T03:11:54.86+00:00

Also tried added ssl=require in connection string it returned error as "Network error IOException: SSL handshake aborted..."

if I added sslProtocol=TLSv1.1 since in Azure server it set as 1.0, but it return message as "Reason:Login failed due to client TLS version being less than server.."

Using jtds.-1.3.1.jar

or what is the right way to set TLS version in connection string?

Azure SQL Database
{count} votes