|Applies To||RSA Key Manager Client|
|Issue||RKM 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
[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.
|Resolution||Check 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 ID||a57482|