Hi all,
I am using Java 1.2.2 with the JSSE 1.0.2 extension installed. I have what I am fairly sure is a PKCS12 keystore generated by an AS400 which I am trying to load - code snippet below:
KeyStore ks = KeyStore.getInstance("PKCS12", "SunJSSE");
ks.load(new FileInputStream(keystoreName), storepass);
I know that the keystore name and password are correct. What's happening is that I am getting the following exception:
Exception caught, details: toDerInputStream rejects tag type 55
java.io.IOException: toDerInputStream rejects tag type 55
I've seen a few previous threads on the forum mention this but no-one has come up with any answers/reasons/workarounds/suggestions. Can anyone help now?