encryptChallengeAnswer utility

The encryptChallengeAnswer utility encrypts plain text data stored in the database column USERREG.CHALLENGEANSWER.

The MemberSubSystem/challengeAnswerEncrypted configuration attribute in the instance configuration file must be set to true to encrypt the data.

Note: After running the utility for the first time, we can use the MigrateEncryptedInfo utility to re-encrypt the data in USERREG.CHALLENGEANSWER.

Before beginning

Set the HostName and HostJDBCPort parameters in the utilities_root/schema/DBTYPE/migration/encryptChallengeAnswerDBUpdate.txt configuration file.


Syntax


Parameter values

If the merchant keys are not retrieved from the Key Locator Framework, the following list shows the accepted parameters:

If the merchant keys are retrieved from the Key Locator Framework, the accepted parameters are:


Example 1

Runtime environment

The current merchant key, 1234567890abcdef1234567890abcdef, is stored in encrypted format in the instance.xml file, and we want to encrypt the existing plain text challenge answer values in the database using this merchant key. In the example, the data is stored in a DB2 database and "demo" is the instance name:

Note: This example is setting the num_of_threads value to 4 (for a four-processor server) and the commit_count to 5000.


Related tasks
Running utilities from the Utility server Docker container


Related reference
Utilities