Using RAD 8.5 with WAS 8.5 runtime, I am getting an exception on my console:
The keystore located at "C:\IBM\Websphere85\jdk\jre\lib\security\cacerts" failed to load due to the following error: DerInputStream.getLength(): lengthTag=109, too big..
After searching for the error I got this link which suggests to edit the file and remove blank lines/extra characters.
How do I edit the file? I am on windows environment and the file seems to be base64 encoded.
Here's a way to actually solve this problem without the need to view or edit the file.
Using the keytool utility from command line I executed:
which gave me a
cacerts.p12
file which could be easily read by the above class.References: