Invalid keystore format

Samebug tips2

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

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"

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2537

  • via Coderanch by Rishi Yagnik, 7 months ago
    Invalid keystore format
  • via Coderanch by Pete Long, 7 months ago
    Invalid keystore format
  • via GitHub by chowdarynamala
    , 10 months ago
    Invalid keystore format
  • Stack trace

    • Invalid keystore format at org.apache.wss4j.common.crypto.Merlin.load([188:org.apache.wss4j.wss4j-ws-security-common:2.0.3] at org.apache.wss4j.common.crypto.Merlin.loadProperties([188:org.apache.wss4j.wss4j-ws-security-common:2.0.3] at org.apache.wss4j.common.crypto.Merlin.<init>([188:org.apache.wss4j.wss4j-ws-security-common:2.0.3] at org.apache.wss4j.common.crypto.CryptoFactory.getInstance([188:org.apache.wss4j.wss4j-ws-security-common:2.0.3] Caused by: Invalid keystore format at[:1.7.0_76] at$JKS.engineLoad([:1.7.0_76] at[:1.7.0_76] at org.apache.wss4j.common.crypto.Merlin.load([188:org.apache.wss4j.wss4j-ws-security-common:2.0.3] ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 2 years ago
    2 times, 7 months ago
    Unknown user
    Once, 1 year ago
    33 more bugmates