INTRODUCTION
In DB2, there is a configuration parameter called 'authentication' that specifies and determines how and where authentication of a user takes place.
The default value for this parameter is SERVER. In this case the user ID and password are sent from the client to the server so that authentication can take place on the server.
The value SERVER_ENCRYPT for this parameter provides the same behavior as SERVER, except that any passwords sent over the network are encrypted.
The steps shown below are for Strategy ODBC Driver for DB2 Wire Protocol 5.30.00.102 (on Windows):
Note: Even though the following steps use the example of DB2 UDB, the same can be performed for DB2 for zOS and DB2 for iSeries.



The user must define authentication method that the driver uses to authenticate the user to the server when a connection is established as well as the encryption method that the driver uses to encrypt data sent between the driver and the database server.
For the authentication methods there are 5 options:
For the encryption methods there are 3 options:
Note: DB2 encryption protocol can only be specified when Authentication Method is set to 0, 1, or 2.
DB2 encyrption on Unix for Strategy ODBC Driver for DB2 Wire Protocol 5.30.00.79 can be enabled by adding the following two parameters in the ODBC.ini file:
AuthenticationMethod
EncryptionMethod
For details on what values can be used, refer to the Installation and Configuration Guide found under Product Manuals.
Third Party Software Installation WARNING
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
KB20772