java.io.IOException

Keystore was tampered with, or password was incorrect + at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771)

Samebug tips2

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


ifercaiferca

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"


rafaelrafael

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

Solutions on the web218

  • via Unknown by 554271,
  • via Unknown by Colm O hEigeartaigh,
  • Stack trace

    • java.io.IOException: Keystore was tampered with, or password was incorrect + at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771) at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38) at java.security.KeyStore.load(KeyStore.java:1185) at org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:525) at org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:121) at org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:62)

    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 visitor
    Unknown visitorOnce,
    rprp
    Once,
    ifercaiferca
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    33 more bugmates