"Invalid secret key format" using keytool command over a JCEKS file
Issue
-
Executing keytool command over a existing JCEKS keystore
keytool -list -v -keystore keystore.jceks -storetype JCEKS
is not able to read it and returns an error
May 21, 2018 9:55:29 AM java.io.ObjectInputStream filterCheck INFO: ObjectInputFilter REJECTED: null, array length: -1, nRefs: 1, depth: 1, bytes: 89, ex: n/a keytool error: java.io.IOException: Invalid secret key format
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
- 7
- OpenJDK 8u151+, 7u161+ or 6u171+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.