sjagad
2006-06-04 14:09:21 UTC
Hi,
I am running WAS 5.1.1 (IBM J2RE 1.4.2).
In my application code, I am trying to import a PKCS12 keystore (.p12
file) that was generated using OpenSSL. It is failing at the time when
I am trying to load the keystore using the load method with the
following exception:
java.io.IOException - Error reading keystore. Check if the password is
correct.
I am pretty sure the password is correct.
Also, I tried importing this keystore using the iKeyman utility. It
fails with the message - "The specified database is corrupted".
However, when I try to list the contents of the keystore using openssl,
it is getting listed properly.
Is there an incompatibility between the p12 files generated by openssl
and that required by IBMJCE?
Is there a solution to this problem? Any help would be appreciated.
Thanks.
I am running WAS 5.1.1 (IBM J2RE 1.4.2).
In my application code, I am trying to import a PKCS12 keystore (.p12
file) that was generated using OpenSSL. It is failing at the time when
I am trying to load the keystore using the load method with the
following exception:
java.io.IOException - Error reading keystore. Check if the password is
correct.
I am pretty sure the password is correct.
Also, I tried importing this keystore using the iKeyman utility. It
fails with the message - "The specified database is corrupted".
However, when I try to list the contents of the keystore using openssl,
it is getting listed properly.
Is there an incompatibility between the p12 files generated by openssl
and that required by IBMJCE?
Is there a solution to this problem? Any help would be appreciated.
Thanks.