000011762 - RKM Java Client: Can NOT load credential file: <client credential filename>. DerInputStream.getLength(): lengthTag=125  too big.

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 Number000011762
Applies ToRSA Key Manager Client
Java
JDK 1.6
AIX
IssueRKM Java Client: Resolve error "Can NOT load credential file: <client credential filename>. DerInputStream.getLength(): lengthTag=125, too big."
Running the RKM Java Client CheckConfig.java sample program outputs something like

     [java] Verify config check FAILED. Please correct any errors detected (Syst
em.err output)
     [java] **** Can NOT load credential file: <client credential filename>. DerIn
putStream.getLength(): lengthTag=125, too big.
     [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.
ResolutionCheck that the client credential file is in binary format and does not have any extra characters/lines at the end
In one case, the same PKCS #12 file was working on one system but not another, even though they were using the same JDK version.  This was resolved by using a clean installation of JDK.
Legacy Article IDa57482

Attachments

    Outcomes