8.2.13 Set CFG Values in a Single Command

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Db2 uses KEYSTORE_TYPE and KEYSTORE_LOCATION to access the keystore.

Rationale:

Although the Db2 database manager configuration parameters KEYSTORE_TYPE and KEYSTORE_LOCATION are configurable online, you should set them in the a single DB2 UPDATE DBM CFG command. Otherwise, Db2 might attempt to access the keystore between the updates and report an access error.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

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.

See Also

https://workbench.cisecurity.org/benchmarks/10752