I am trying to migrate a web application from Websphere Application server to Websphere Liberty Profile(WLP). The application is doing some encrypting/decryption using a secret key stored in a keystore. This keystore was generated long time ago using keytool program coming from an IBM JDK.
Now, migrating the code to WLP means it will now run under a standard, Oracle JVM, which is unable to read the old keystore file (throws java.io.IOException: Invalid secret key format).
My question is how can i migrate the keystore file, keeping the original secret key, to a format that the Oracle JVM will be able to read.
I was living with the wrong idea that WLP only runs with standard Oracle JVM, but as pointed by Alasdair, WLP can be configured to run with JVMs from other vendors. So i fixed the problem by running WLP with the IBM JVM (configuration done in server.env) which could correctly read the keystore file.