Table of Contents

Search

  1. Preface
  2. Starting Data Archive
  3. System Configuration
  4. Database Users and Privileges
  5. Source Connections
  6. Target Connections
  7. Archive Store Configuration
  8. Datatype Mapping
  9. Database Optimization
  10. SAP Application Retirement
  11. z/OS Source Data Retirement
  12. Seamless Data Access
  13. Data Discovery Portal
  14. Security
  15. SSL Communication with Data Vault
  16. LDAP User Authentication
  17. Auditing
  18. Running Jobs from External Applications
  19. Salesforce Archiving Administrator Tasks
  20. Upgrading Oracle History Data
  21. Upgrading PeopleSoft History Data
  22. Data Archive Maintenance
  23. Appendix A: Datetime and Numeric Formatting
  24. Appendix B: Data Archive Connectivity

Administrator Guide

Administrator Guide

Troubleshooting the Encryption Utility

Troubleshooting the Encryption Utility

Consider the following troubleshooting tips when you use the encryption utility or if you encounter issues after you run the utility:
javax.crypto.BadPaddingException: Error finalising cipher data: pad block corrupted at org.bouncycastle.jcajce.provider.BaseCipher.engineDoFinal(Unknown Source) at javax.crypto.Cipher.doFinal(Cipher.java:2168) at com.applimation.util.AES256Utility.cbcDecryptBc(AES256Utility.java:382) at com.applimation.dao.impl.AES256EncryptorDaoImpl.decryptThePassword(AES256EncryptorDaoImpl.java:66)
Use case
You might notice this issue when you log in to Data Archive or when you run the utility. The following issues generate the error:
  • The master key is old.
  • The master key is corrupt.
Resolution
If the master key is old, use the new master key.
If the master key is corrupt, use the backup master key file.
java.lang.ArrayIndexOutOfBoundsException2021-10-14 20:50:09,562 ERROR [com.applimation.services.thread.AMServiceThread] [JOB$:786-JOBSTEP$:1642]
Use case
This error occurs if the AESEncryption utility does not run successfully because of session interruption or unexpected session closure while utility is running.
Resolution
Run the utility again and choose the Resume flow.
java.security.InvalidKeyException: Illegal key size or default parameters3. Caused by: java.security.InvalidKeyException: Illegal key size or default parameters at javax.crypto.Cipher
Use case
This error occurs if you use an unsupported JDK version to run the utility.
Resolution
Use the JDK bundled with the installer and available in the <Data Archive install directory>.
java.io.FileNotFoundException: C:\Installation_Directory\key.file (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195)
Use case
The error occurs if the master key is not available in the location specified in the conf.properties file or in the installation directory.
Resolution
Copy the master key to the Data Archive installation directory or to the custom path that you specified in the conf.properties file and run the utility.

0 COMMENTS

We’d like to hear from you!