java.io.IOException

Keystore was tampered with, or password was incorrect

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 web7334

  • Keystore was tampered with, or password was incorrect
  • Keystore was tampered with, or password was incorrect
  • Keystore was tampered with, or password was incorrect
  • Stack trace

    • java.io.IOException: Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:780) at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56) at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:225) at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70) at java.security.KeyStore.load(KeyStore.java:1445)

    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, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 3 months ago
    Once, 6 months ago
    2 times, 7 months ago
    33 more bugmates