java.io.IOException: Invalid keystore format

Oracle Community | 836695 | 5 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

    Unable to login to OIM using Digital Signature-Based Method

    Oracle Community | 9 years ago | 655624
    java.io.IOException: Keystore was tampered with, or password was incorrect
  2. 0
    samebug tip
    If you are using maven you'd like to exclude your binaries from filtering process.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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"
  5. 0

    WSO2 BAM 2.3.0 throws exception during startup after installing SSL certificate

    Stack Overflow | 4 years ago | Abs
    java.io.IOException: Invalid keystore format
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

    Invalid keystore format

    at sun.security.provider.JavaKeyStore.engineLoad()
  2. Java RT
    KeyStore.load
    1. sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)
    2. sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
    3. java.security.KeyStore.load(KeyStore.java:1185)
    3 frames
  3. com.thortech.xl
    tcCryptoUtil.sign
    1. com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:120)
    2. com.thortech.xl.crypto.tcDefaultSignatureImpl.initKeyStore(tcDefaultSignatureImpl.java:98)
    3. com.thortech.xl.crypto.tcDefaultSignatureImpl.sign(tcDefaultSignatureImpl.java:168)
    4. com.thortech.xl.crypto.tcCryptoUtil.sign(tcCryptoUtil.java:108)
    4 frames
  4. oracle.iam.platform
    OIMInternalClient.loginAsOIMInternal
    1. oracle.iam.platform.OIMInternalClient.loginAsOIMInternal(OIMInternalClient.java:98)
    1 frame
  5. oracle.iam.scheduler
    SchedulerStartupServlet.init
    1. oracle.iam.scheduler.impl.util.SchedulerUtil.getSchedulerService(SchedulerUtil.java:839)
    2. oracle.iam.scheduler.webapp.SchedulerStartupServlet.startScheduler(SchedulerStartupServlet.java:92)
    3. oracle.iam.scheduler.webapp.SchedulerStartupServlet.init(SchedulerStartupServlet.java:46)
    3 frames
  6. Atmosphere weblogic
    StubSecurityHelper$ServletInitAction.run
    1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    1 frame
  7. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    1 frame
  8. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    1 frame
  9. Atmosphere weblogic
    WebAppModule.start
    1. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    2. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    3. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    4. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    5. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
    6. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
    7. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
    8. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    9. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    10. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    10 frames
  10. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    1 frame
  11. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  12. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    4 frames
  13. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  14. weblogic.application.internal
    BaseDeployment$2.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    3 frames
  15. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  16. weblogic.application.internal
    DeploymentStateChecker.activate
    1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    2. weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    3 frames
  17. weblogic.deploy.internal
    AppContainerInvoker.activate
    1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    1 frame