odbc.ini File Examples for Configuring Data Encryption
The following example odbc.ini files demonstrate how to configure the 32-bit SQL Server Wire Protocol driver to use data encryption via the SSL Server Authentication and SSL Client Authentication methods. These examples include the necessary options to configure data encryption as well as the minimum options required to establish a connection.
SSL Server Authentication
This odbc.ini file configures the driver to use the SSL Server Authentication method. In this configuration, since ValidateServerCertificate=1, the driver validates the certificate sent by the server and the host name specified by the HostNameInCertificate option.
This odbc.ini file configures the driver to use the SSL Client Authentication method. In this configuration, since ValidateServerCertificate=1, the driver validates the certificate sent by the server and the host name specified by the HostNameInCertificate option.