Skip to Content.
Sympa Menu

freetds - Re: [freetds] SSL connection to MS SQL 2008

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Plot Lost <plot.lost AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] SSL connection to MS SQL 2008
  • Date: Mon, 4 Oct 2010 21:20:45 +0400

When I last got freetds to work with encryption it was SQL 2005 not 2008,
> but anyway I couldn't get openssl to work, and somebody on the list
> suggested trying GNUTLS instead. Have you tried that?
>
> Bob
>
> Will give it a try. gnutls-2.10.2 has now been compiled and installed.

Testing it to start with just using sqsh to prove the conectivity, but once
that works then freetds will be used from within a custom app that already
uses OpenSSL for other functions - don't know if both OpenSSL and GnuTLS can
be used at the same time by the same code...

Can't get freetds to compile with gnutls though at the moment:

gcc -pthread -g -O2 -Wdeclaration-after-statement -o .libs/fisql fisql.o
terminal.o edit.o handlers.o interrupt.o ../../dblib/.libs/libsybdb.so
../../replacements/.libs/libreplacements.a -ldl -lrt
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_global_init'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_mac_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_ptr'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_handshake'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_strerror'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_global_set_log_function'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_init'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_global_deinit'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_set_default_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_pull_function'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_certificate_allocate_credentials'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_certificate_free_credentials'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_push_function'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_kx_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_global_set_log_level'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_record_send'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_record_recv'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_cipher_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_deinit'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_credentials_set'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_compression_set_priority'




Archive powered by MHonArc 2.6.24.

Top of Page