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

Oracle Community | Prorad | 6 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to iferca and rafael . Or join the community to write better ones.
  1. 0

    OAAM 10g setting up encryption

    Oracle Community | 6 years ago | Prorad
    java.io.IOException: Keystore was tampered with, or password was incorrect + at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..)
  2. 0
    samebug tip
    If you are using maven you'd like to exclude your binaries from filtering process.
  3. 0
    samebug 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"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JCEKS keystore as resource in War

    Stack Overflow | 5 years ago | PatTheGamer
    java.io.IOException: Keystore was tampered with, or password was incorrect at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..)
  6. 0

    Error: JCE cannot authenticate the provider BC

    java-forums.org | 9 months ago
    java.io.IOException: error constructing MAC: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.en gineLoad(Unknown Source)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

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

    at java.security.KeyStore.load()
  2. Java RT
    KeyStore.load
    1. java.security.KeyStore.load(KeyStore.java:1185)
    1 frame
  3. com.bharosa.common
    KeystoreKeyRetrieval.<init>
    1. com.bharosa.common.util.cipher.KeystoreKeyRetrieval.getKeystore(KeystoreKeyRetrieval.java:158)
    2. com.bharosa.common.util.cipher.KeystoreKeyRetrieval.init(KeystoreKeyRetrieval.java:79)
    3. com.bharosa.common.util.cipher.KeystoreKeyRetrieval.<init>(KeystoreKeyRetrieval.java:42)
    3 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  5. com.bharosa.common
    BharosaCipher.getCipher
    1. com.bharosa.common.util.BharosaCipher.getKeyRetrievalClass(BharosaCipher.java:393)
    2. com.bharosa.common.util.BharosaCipher.getCipher(BharosaCipher.java:208)
    3. com.bharosa.common.util.BharosaCipher.getCipher(BharosaCipher.java:261)
    3 frames
  6. com.bharosa.vcrypt
    VCryptPassword.<init>
    1. com.bharosa.vcrypt.auth.util.VCryptPassword.<init>(VCryptPassword.java:31)
    1 frame
  7. com.bharosa.common
    TOPLinkPasswordAttributeTransformer.<init>
    1. com.bharosa.common.toplink.TOPLinkPasswordAttributeTransformer.<init>(TOPLinkPasswordAttributeTransformer.java:17)
    1 frame
  8. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    5. java.lang.Class.newInstance0(Class.java:355)
    6. java.lang.Class.newInstance(Class.java:308)
    6 frames
  9. oracle.toplink.internal
    PrivilegedAccessController.newInstanceFromClass
    1. oracle.toplink.internal.security.PrivilegedAccessController.newInstanceFromClass(PrivilegedAccessController.java:542)
    1 frame
  10. oracle.toplink.mappings
    AbstractTransformationMapping.initialize
    1. oracle.toplink.mappings.foundation.AbstractTransformationMapping.initializeAttributeTransformer(AbstractTransformationMapping.java:604)
    2. oracle.toplink.mappings.foundation.AbstractTransformationMapping.initialize(AbstractTransformationMapping.java:587)
    2 frames
  11. oracle.toplink.publicinterface
    DatabaseSession.login
    1. oracle.toplink.publicinterface.Descriptor.initialize(Descriptor.java:1872)
    2. oracle.toplink.publicinterface.DatabaseSession.initializeDescriptors(DatabaseSession.java:361)
    3. oracle.toplink.publicinterface.DatabaseSession.initializeDescriptors(DatabaseSession.java:322)
    4. oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:504)
    4 frames
  12. oracle.toplink.tools
    SessionManager.getSession
    1. oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:379)
    2. oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:242)
    2 frames
  13. com.bharosa.common
    TopLinkDBMgr.<init>
    1. com.bharosa.common.toplink.TopLinkDBMgr.<init>(TopLinkDBMgr.java:61)
    1 frame
  14. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    5. java.lang.Class.newInstance0(Class.java:355)
    6. java.lang.Class.newInstance(Class.java:308)
    6 frames
  15. com.bharosa.vcrypt
    VCryptDataAccessMgr.<init>
    1. com.bharosa.vcrypt.dataaccess.util.VCryptDataAccessMgr.initializeDBMgr(VCryptDataAccessMgr.java:129)
    2. com.bharosa.vcrypt.dataaccess.util.VCryptDataAccessMgr.<init>(VCryptDataAccessMgr.java:54)
    2 frames
  16. com.bharosa.common
    IPLocationLoader.main
    1. com.bharosa.common.util.BharosaConfigLoadDbImpl.init(BharosaConfigLoadDbImpl.java:61)
    2. com.bharosa.common.util.BharosaConfigCommonImpl.init(BharosaConfigCommonImpl.java:39)
    3. com.bharosa.common.util.BharosaConfig.init(BharosaConfig.java:113)
    4. com.bharosa.common.util.BharosaConfig.get(BharosaConfig.java:457)
    5. com.bharosa.common.newlocation.IPLocationLoader.main(IPLocationLoader.java:109)
    5 frames