microsoft/mssql-jdbc

[QUESTION] How do I connect to a server which forces TLSv1.0 encryption?

eladitzhakian opened this issue · 3 comments

Question

There's an old SQL server which uses TLSv1.0 that I need to connect to. After struggling with the CLI tool sqlcmd I was able to connect to the server using -N disable which to my understanding disables encryption and skips the handshake. Unfortunately I haven't been able to do the same with MSSQL JDBC. Setting encrypt=false does not seem to do the trick.

Is there a way to completely go around the SSL handshake? Or make the driver use TLSv1.0?

Hi @eladitzhakian,

Setting sslProtocol=TLSv1 is what you're looking for .

For more information, please see SSL Protocol in out Wiki.

Hi @eladitzhakian,

Has this worked for you? Without further communication, we'll assume the issue is resolved, and move forward with closing the issue.

Closing for inactivity.