Information
To enable TLS support in a Db2 server, it is necessary to configure a key store that will contain certificates to be used for secure TLS communication between a Db2 client and Db2 server.
Rationale:
On the server side, Db2 requires a key store to be configured. Otherwise, TLS support cannot be enabled.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
Perform the following to set SSL_SVR_KEYDB:
Attach to the Db2 instance.
db2 => attach to <db2instance>
Run the following command, where <path> is the fully qualified path to the keystore file:
db2 => update dbm cfg using SSL_SVR_KEYDB <path>
(Optional) To use the Microsoft certificate store on Windows, set SSL_SVR_KEYDB to GSK_MS_CERTIFICATE_STORE:
db2 => update dbm cfg using SSL_SVR_KEYDB GSK_MS_CERTIFICATE_STORE
If a keystore file is being used, ensure only the instance owner and administrators have access to the file. Do not grant world readable or world writable permissions on the keystore file.