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.