[freetds] MSSQL encrypted connection

Frediano Ziglio freddy77 at gmail.com
Wed Dec 9 16:11:56 EST 2015

2015-12-09 20:52 GMT+00:00 Lueders, Paul T CTR (US)
<paul.t.lueders.ctr at mail.mil>:
> I am attempting to access a mssql 2012 database from a RHEL 6 server.  The database is configured to use encrypted connections.  When I test the connection using either tsql of osql I get and error.
> What is the proper method of configuring the driver to allow an encrypted connection?
> Thanks

  looks at http://www.freetds.org/userguide/freetdsconf.htm and
http://www.freetds.org/userguide/odbcconnattr.htm (if you are using
ODBC) and search for "encryption".

Use "tsql -C" command to understand if either GnuTLS or OpenSSL
(required for encryptions connection) are enabled.


More information about the FreeTDS mailing list