TMAegis
More rules for db2

TMA-DB2-8.2.13

Set CFG Values in a Single Command

LowLevel 2Manual reviewdb2

Description

Db2 uses KEYSTORE_TYPE and KEYSTORE_LOCATION to access the keystore.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

You can check what values you have set for these parameters as follows: $ db2 get dbm cfg | grep KEYSTORE Keystore type (KEYSTORE_TYPE) = PKCS12 Keystore location (KEYSTORE_LOCATION) = /path/to/file.p12

How it is fixed

Fix method: Guidance or infrastructure patch

You can execute the following command to change the values in one line: db2 => update dbm cfg using keystore_type pkcs12 keystore_location /path/to/file.p12; DB20000I The UPDATE DATABASE MANAGER CONFIGURATION command completed successfully.

Properties

Operating systems
Any
Tags
db2databasemanual
Reference
CIS IBM Db2 12.1 Benchmark v1.0.0 - 8.2.13 Set CFG Values in a Single Command