000016161 - 'Could not perform unpadding: invalid pad byte.' after migration

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000016161
Applies ToRSA Key Manager Appliance 2.7
Issue"Could not perform unpadding: invalid pad byte." after migration
CauseThe default softwareMasterKey.properties was used to run the migration script.
ResolutionCopy your production softwareMasterKey.properties in the "input" folder of the migration utility and re-run the migration tool to regenerate the output SQL script.
NotesNote: The softwareMasterKey.properties file which is used with the test data of the migration utility contains the following content:

        salt = X4bSr/Sndge4DjgIAKvn2A==
        hash = 7DExWHpW4ipLC/urBhQmAAENcyMUFS29m4csTgcOWP4=

If you see this content, you have the wrong softwareMasterKey.properties file to run the migration.
Legacy Article IDa50628