java.io.IOException: Keystore was tampered with, or password was incorrect + at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..)

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 Oracle Community by Prorad, 1 year ago
Keystore was tampered with, or password was incorrect + at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..)
via Stack Overflow by PatTheGamer
, 2 years ago
Keystore was tampered with, or password was incorrect at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..)
via blackberryforums.com by Unknown author, 1 year ago
Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(Unkn own Source)
via blackberryforums.com by Unknown author, 2 years ago
Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(Unkn own Source)
via grokbase.com by Unknown author, 1 year ago
Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:739)
via nabble.com by Unknown author, 1 year ago
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)
java.io.IOException: Keystore was tampered with, or password was incorrect + at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..)
at java.security.KeyStore.load(KeyStore.java:1185)
at com.bharosa.common.util.cipher.KeystoreKeyRetrieval.getKeystore(KeystoreKeyRetrieval.java:158)
at com.bharosa.common.util.cipher.KeystoreKeyRetrieval.init(KeystoreKeyRetrieval.java:79)
at com.bharosa.common.util.cipher.KeystoreKeyRetrieval.(KeystoreKeyRetrieval.java:42)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at com.bharosa.common.util.BharosaCipher.getKeyRetrievalClass(BharosaCipher.java:393)
at com.bharosa.common.util.BharosaCipher.getCipher(BharosaCipher.java:208)
at com.bharosa.common.util.BharosaCipher.getCipher(BharosaCipher.java:261)
at com.bharosa.vcrypt.auth.util.VCryptPassword.(VCryptPassword.java:31)
at com.bharosa.common.toplink.TOPLinkPasswordAttributeTransformer.(TOPLinkPasswordAttributeTransformer.java:17)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at oracle.toplink.internal.security.PrivilegedAccessController.newInstanceFromClass(PrivilegedAccessController.java:542)
at oracle.toplink.mappings.foundation.AbstractTransformationMapping.initializeAttributeTransformer(AbstractTransformationMapping.java:604)
at oracle.toplink.mappings.foundation.AbstractTransformationMapping.initialize(AbstractTransformationMapping.java:587)
at oracle.toplink.publicinterface.Descriptor.initialize(Descriptor.java:1872)
at oracle.toplink.publicinterface.DatabaseSession.initializeDescriptors(DatabaseSession.java:361)
at oracle.toplink.publicinterface.DatabaseSession.initializeDescriptors(DatabaseSession.java:322)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:504)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:379)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:242)
at com.bharosa.common.toplink.TopLinkDBMgr.(TopLinkDBMgr.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.bharosa.vcrypt.dataaccess.util.VCryptDataAccessMgr.initializeDBMgr(VCryptDataAccessMgr.java:129)
at com.bharosa.vcrypt.dataaccess.util.VCryptDataAccessMgr.(VCryptDataAccessMgr.java:54)
at com.bharosa.common.util.BharosaConfigLoadDbImpl.init(BharosaConfigLoadDbImpl.java:61)
at com.bharosa.common.util.BharosaConfigCommonImpl.init(BharosaConfigCommonImpl.java:39)
at com.bharosa.common.util.BharosaConfig.init(BharosaConfig.java:113)
at com.bharosa.common.util.BharosaConfig.get(BharosaConfig.java:457)
at com.bharosa.common.newlocation.IPLocationLoader.main(IPLocationLoader.java:109)

Users with the same issue

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.