java.io.IOException: Keystore was tampered with, or password was incorrect

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 myerrorsandmysolutions.com by Unknown author, 2 years ago
Keystore was tampered with, or password was incorrect
via myerrorsandmysolutions.com by Unknown author, 2 years ago
via myerrorsandmysolutions.com by Unknown author, 1 year ago
Keystore was tampered with, or password was incorrect
via archiva-users by 岩本 俊彦, 1 year ago
Invalid keystore format
via Oracle Community by 2798522, 1 year ago
Keystore was tampered with, or password was incorrect
via grokbase.com by Unknown author, 2 years ago
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:240)
at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:448)
at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
33 more bugmates

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