Using SSL With DBLIB/TinyTDS

Ken Collins <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
So I was testing the latest 0.91 with "Forced Encryption" turned on at the server level. And I monitored my network traffic and saw that indeed I was getting a secure connection. My question is, is there a way to specify this at the client level? In my code I have:

DBSETLDBNAME(login)

If the user specifies a :secure option. But it will not encrypt, only when I set the server to force clients. I can verify that my DBLIB connection is in plain text by doing a test query like "SELECT N'secret' AS [password]". Is this expected behavior? What should DBSETLDBNAME do?

 - Ken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.