Skip to Content
avatar image
Former Member

Can the connection to a DB2 database be encrypted?

I'm wanting to connect to a remote DB2 database (i.e. not the database the SAP system is running on) and have the communication encrypted. Thanks to note 200164 I have deployed the DB2 CLI client and configured DBCO. I am now able to make connections to the DB2 database using exec sql statements. What I'm missing is any information on if and how the connection to the DB2 database can be encrypted. Does anyone know if this is possible?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 04, 2008 at 12:04 PM

    Hello, I do not fully understand your question. You first stated that you have encrypted the communication. Later, You ask how to encrypt.

    In any case, the communication between client and server can be encrypted by setting AUTHENTICATION in the DBM CFG on the server side to SERVER_ENCRYPTED.


    Add comment
    10|10000 characters needed characters exceeded

    • The authentication type is configured at the server. Optionally, you also can specify it at the client. If that is not done, the client side defaults to SERVER_ENCRYPT and in the case of failure will continue to attempt to connect using other authentication types.

      How the optional configuration would have to be done at the client side in case of a thin client, I do not really know - but the default should give you what you need.