java.io.IOException: Invalid keystore format

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Kevin

If you are using maven you'd like to exclude your binaries from filtering process.

,
Expert tip

Java Keytool doesn't accept PEM files, you need to convert it to Der before: "openssl x509 -outform der -in certificate.pem -out certificate.der" and to import it to the keystore "keytool -import -alias your-alias -keystore cacerts -file certificate.der"

Solutions on the web

via Apache's JIRA Issue Tracker by Krzysztof Sobkowiak, 1 year ago
Invalid keystore format
via Apache's JIRA Issue Tracker by Krzysztof Sobkowiak, 1 year ago
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:1214)
at org.apache.wss4j.common.crypto.Merlin.load(Merlin.java:401)
at org.apache.wss4j.common.crypto.Merlin.load(Merlin.java:407)
at org.apache.wss4j.common.crypto.Merlin.loadProperties(Merlin.java:224)
at org.apache.wss4j.common.crypto.Merlin.(Merlin.java:160)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.