Troubleshooting
Problem
Attempts to use the IBM UrbanCode Deploy "keytool -importkeystore" command results in the error "java.io.IOException: Invalid keystore format".
Symptom
Trying to import entries from one keystore into another fails.
Command:
keytool -importkeystore -srckeystore <source-encryption.keystore> -destkeystore <target-encryption.keystore>
Result:
keytool error (likely untranslated): java.io.IOException: Invalid keystore format
Cause
The source keystore was created using an IBM SDK, and the import is attempting to use OpenJDK which results in the 'Invalid keystore format' error.
Resolving The Problem
The importing JDK needs to be of the same vendor as the one from which is was exported.
Use the IBM SDK and import the entries using the keytool shipped with IBM UrbanCode Deploy.
Note: If you need to convert the encryption.keystore created by the OpenJDK into a keystore that the IBM SDK can read, contact IBM Rational Client Support to obtain an utility that will allow you to convert it.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg2C1000073