My Oracle Support Banner

Keytool Error: Java.io.IOException: Invalid Keystore Format (Doc ID 2499934.1)

Last updated on MAY 22, 2024

Applies to:

Oracle E-Business Suite Technology Stack - Version 12.2.7 to 12.2.8 [Release 12.2]
Information in this document applies to any platform.

Symptoms

On 12.2.7 version, Jserv, JDK, JVM, JRE
After copying adkeystor.dat and cacerts from one instance to another re generate jar and just list keystore fails with below error:

keytool error: java.io.IOException: Invalid keystore format
java.io.IOException: Invalid keystore format
  at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:650)
  at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
  at java.security.KeyStore.load(KeyStore.java:1226)
  at sun.security.tools.KeyTool.doCommands(KeyTool.java:789)
  at sun.security.tools.KeyTool.run(KeyTool.java:340)
  at sun.security.tools.KeyTool.main(KeyTool.java:333)


The issue can be reproduced at will with the following steps:

1. Re generate jar' using adadmin

Or

2. keytool -list -v -keystore adkeystore.dat

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.