Domain Cannot Be Started Up After Changing The Default Password Of Keystore or Truststore (Doc ID 1603967.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.

Symptoms

Domain cannot be started up after changing the default password of keystore.jks and/or cacerts.jks

Error encountered during domain startup:

java.lang.IllegalStateException: Keystore was tampered with, or password was incorrect


ERROR
-----------------------

[#|2013-11-22T11:27:12.606+0800|INFO|IS5.1.3|javax.enterprise.system.core|_ThreadID=10; ThreadName=org.apache.commons.launcher.ChildMain;|[STC JTS Extension] The last agent commit optimization is enabled.|#]

java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:592)
  at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: java.lang.ExceptionInInitializerError
  at com.sun.enterprise.iiop.IIOPSSLSocketFactory.init(IIOPSSLSocketFactory.java:216)
  at com.sun.enterprise.iiop.IIOPSSLSocketFactory.(IIOPSSLSocketFactory.java:129)
  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:501)
  at java.lang.Class.newInstance0(Class.java:350)
  at java.lang.Class.newInstance(Class.java:303)
  at com.sun.corba.ee.impl.orb.ParserTable$3.operate(ParserTable.java:460)
  at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:22)
  at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:52)
  at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:56)
  at com.sun.corba.ee.impl.orb.ORBDataParserImpl.(ORBDataParserImpl.java:339)
  at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:421)
  at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:498)
  at org.omg.CORBA.ORB.init(ORB.java:337)
  at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:426)
  at com.sun.enterprise.util.ORBManager.init(ORBManager.java:246)
  at com.sun.enterprise.server.J2EEServer.createORB(J2EEServer.java:369)
  at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:204)
  at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:756)
  at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:233)
  at com.sun.enterprise.server.PEMain.run(PEMain.java:222)
  at com.sun.enterprise.server.PEMain.main(PEMain.java:186)
  ... 5 more
Caused by: java.lang.IllegalStateException: Keystore was tampered with, or password was incorrect
  at com.sun.enterprise.security.SSLUtils.(SSLUtils.java:68)
  ... 29 more

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms