Tuesday, March 28, 2017

Keystore was tampered with, or password was incorrect

Problem

Getting this error starting up the SOA managed server:
####<Mar 8, 2017 10:37:47 PM GMT> <Error> <HTTP> <soahost1.raastech.com> <soa_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000Lek4HZl3b605zzT4iW1Ok8Tk000003> <1489012667644> <BEA-101216> <Servlet: "FabricProviderServlet" failed to preload on startup in Web application: "/soa-infra".
oracle.fabric.common.FabricException: Unable to create SSL Socket Factory: Keystore was tampered with, or password was incorrect
        at oracle.integration.platform.common.SSLSocketFactoryManagerImpl.getSSLSocketFactory(SSLSocketFactoryManagerImpl.java:74)
        at oracle.integration.platform.blocks.soap.AbstractWebServiceBindingComponent.setProviderConnectionConfig(AbstractWebServiceBindingComponent.java:1035)
        at oracle.integration.platform.blocks.soap.FabricProvider.init(FabricProvider.java:60)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.initProvider(ProviderProcessor.java:253)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.init(ProviderProcessor.java:179)
        at oracle.j2ee.ws.server.provider.ProviderServlet.initializeProcessor(ProviderServlet.java:634)
        at oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:313)
        at oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:242)
        at oracle.integration.platform.blocks.soap.FabricProviderServlet.init(FabricProviderServlet.java:123)
        at javax.servlet.GenericServlet.init(GenericServlet.java:241)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
        at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)

Caused By: java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:772)
        at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
        at java.security.KeyStore.load(KeyStore.java:1226)
        at oracle.j2ee.ws.saaj.util.SSLUtil.loadKeyStore(SSLUtil.java:72)

Caused By: java.security.UnrecoverableKeyException: Password verification failed
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:770)
        at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
        at java.security.KeyStore.load(KeyStore.java:1226)
        at oracle.j2ee.ws.saaj.util.SSLUtil.loadKeyStore(SSLUtil.java:72)
        at oracle.j2ee.ws.saaj.util.SSLUtil.getKeyManagerFactory(SSLUtil.java:87)
        at oracle.j2ee.ws.saaj.util.SSLUtil.getKeyManagers(SSLUtil.java:96)
Solution

1. Log in to the EM Console: http://soahost1:7001/em

2. Expand WebLogic Domain

3. Right-click on soadomain

4. Navigate to Security > Credentials

5. Expand SOA

6. Edit the entry and modify the password to the keystore password


Applicable Versions
  • Oracle SOA Suite 11g (11.1.1.9.0)

 

No comments: