FreeTDS / freetds

Official FreeTDS repository
http://www.freetds.org/
GNU General Public License v2.0
463 stars 161 forks source link

How to connect to a Sybase SSL port if the Sybase server uses TDS version 5.0? #511

Open sagarmavuri opened 1 year ago

sagarmavuri commented 1 year ago

How to connect to a Sybase SSL port using FreeTDS? I am using pyodbc and while I am able to connect to a non-SSL port just fine, but SSL connections aren't working.

Note that the Sybase server uses TDS version 5.0.

sagarmavuri commented 1 year ago

Also, I have used FreeTDS 1.1.6 and 1.4 as well. Nothing works, when I look at the C++ files, the SSL checks are only enabled for TDS version 7 or greater. So when I use TDS version 7 or more, the Sybase server is rejecting the connections. How do I make it this to work?

freddy77 commented 1 year ago

It sounds like something not supported by FreeTDS. Can you do a network trace of a successful connection (that is using Sybase libraries) to a SSL port? If you are concerned about security issues use a test server and/or test account/password and/or send privately to me.