Troubleshooting "Error finalising cipher data: pad block corrupted" in Identity Manager
search cancel

Troubleshooting "Error finalising cipher data: pad block corrupted" in Identity Manager

book

Article ID: 268403

calendar_today

Updated On:

Products

CA Identity Governance CA Identity Manager CA Identity Portal CA Identity Suite

Issue/Introduction

After restarting the Identity Manager Service or importing a directory XML, the service may fail to start, reporting an InvalidCipherTextException with the message "Error finalising cipher data: pad block corrupted." This issue often occurs when configuration files contain incorrectly formatted characters.

Environment

Identity Manager 14.5

Cause

The keyParams.properties file has been corrupted by the presence of "curly quotes" (formatted quotes) instead of standard "straight quotes." This typically happens when configuration values are copied and pasted from word processors like Microsoft Word into the configuration file.

Resolution

  1. Navigate to the following directory in your Identity Manager installation: /iam_im.ear/config/com/netegrity/config/keys/.
  2. Open the keyParams.properties file using a plain text editor (e.g., Notepad).
  3. Inspect the quotes around the key parameters.
  4. Replace any curly quotes (e.g., “1234”) with standard straight quotes (e.g., "1234").
  5. Save the file and restart the Identity Manager Service to apply the changes.

Additional Information

To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.