000014859 - Unable to use my own certificates using the RKM Java samples

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

Article Content

Article Number000014859
Applies ToRSA Key Manager Client 2.5 - Java
RSA Key Manager Java Client 2.7
Issue     [java] **** Can NOT load credential file: testdata/Frank_RKM_Client_1_SHA1-AES256.p12. failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded
     [java] Keystore password could be incorrect.
     [java] Also note that the RKM JavaClient 2.x version does not accept RKM 1.5 credential files, use the upgrade tool to get 2.1 compliant credential file.
**** Can NOT load credential file:
CausePassword is hardcoded in the samples files.
ResolutionEdit the file rkmc\samples\rkmjc\common\ClientConfig.java and change the password accordingly.
Legacy Article IDa47037