It's all about the answers!

Ask a question

SSL0124E: Initialization error, Either the default key in the keyfile has an expired certificate or the keyfile password has expired.


Arun K Sriramaiah (3.2k12265) | asked Sep 07 '18, 5:56 a.m.

<g class="gr_ gr_78 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="78" id="78"> Its </g> not letting customer to change the Key DB password on the HTTP <g class="gr_ gr_79 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="79" id="79"> server , </g> it just loops back to the start of the process. I get this:

An invalid password was provided, the key database has been corrupted or it is of the wrong type. Expected database type: CMS

Ensure that the database is of the correct type and that the correct password was given

Error Code:

46

Stack Trace:

com.ibm.gsk.ikeyman.error.KeyManagerException: java.io.IOException: Incorrect Password.

at com.ibm.gsk.ikeyman.keystore.KeyStoreProxyCreatorFactory$FileKeyStoreProxy.load(KeyStoreProxyCreatorFactory.java)

at com.ibm.gsk.ikeyman.keystore.KeyStoreProxyCreatorFactory$AbstractKeyStoreProxy.getKeyStore(KeyStoreProxyCreatorFactory.java)

at com.ibm.gsk.ikeyman.keystore.KeyStoreItemFactory.getCMSKeyStoreItem(KeyStoreItemFactory.java)

at com.ibm.gsk.ikeyman.keystore.KeyStoreItemFactory.newCMSKeyStoreItem(KeyStoreItemFactory.java)

at com.ibm.gsk.ikeyman.keystore.KeyStoreItemFactory.loadKeystore(KeyStoreItemFactory.java)

at com.ibm.gsk.ikeyman.command.KeyStoreLoaderFactory$BasicKeyStoreLoader.getKeyStoreItem(KeyStoreLoaderFactory.java)

at com.ibm.gsk.ikeyman.command.KeyStoreLoaderFactory$CachedKeyStoreLoader.getKeyStoreItem(KeyStoreLoaderFactory.java)

at com.ibm.gsk.ikeyman.command.Command.getKeystoreItem(Command.java)

at com.ibm.gsk.ikeyman.command.CommandFactory$ChangeDbPasswordCommand.run(CommandFactory.java)

at com.ibm.gsk.ikeyman.command.Command.invoke(Command.java)

at com.ibm.gsk.ikeyman.command.gui.KeymanController$Invoker.invoke(KeymanController.java)

at com.ibm.gsk.ikeyman.command.gui.RetrieverFactory$PromptLoadDbRetriever.getParametersAfterError(RetrieverFactory.java)

at com.ibm.gsk.ikeyman.command.gui.KeymanController.getParametersAfterError(KeymanController.java)

at com.ibm.gsk.ikeyman.command.gui.KeymanController.getParameters(KeymanController.java)

at com.ibm.gsk.ikeyman.command.gui.KeymanController.actionPerformed(KeymanController.java)

at com.ibm.gsk.ikeyman.gui.KeymanFrame$KeymanAction.actionPerformed(KeymanFrame.java)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2033)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2359)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:413)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:270)

at javax.swing.AbstractButton.doClick(AbstractButton.java:387)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:844)

at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:888)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:300)

at java.awt.Component.processMouseEvent(Component.java:6544)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3335)

at java.awt.Component.processEvent(Component.java:6309)

at java.awt.Container.processEvent(Container.java:2247)

at java.awt.Component.dispatchEventImpl(Component.java:4900)

at java.awt.Container.dispatchEventImpl(Container.java:2305)

at java.awt.Component.dispatchEvent(Component.java:4722)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4899)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4536)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4477)

at java.awt.Container.dispatchEventImpl(Container.java:2291)

at java.awt.Window.dispatchEventImpl(Window.java:2757)

at java.awt.Component.dispatchEvent(Component.java:4722)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:769)

at java.awt.EventQueue.access$500(EventQueue.java:108)

at java.awt.EventQueue$3.run(EventQueue.java:720)

at java.awt.EventQueue$3.run(EventQueue.java:714)

at java.security.AccessController.doPrivileged(AccessController.java:620)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)

at java.awt.EventQueue$4.run(EventQueue.java:742)

at java.awt.EventQueue$4.run(EventQueue.java:740)

at java.security.AccessController.doPrivileged(AccessController.java:620)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:739)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:212)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:127)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:112)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:104)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:93)

Caused by: java.io.IOException: Incorrect Password.

at com.ibm.security.cmskeystore.CMSKeyStoreSpi.engineLoad(CMSKeyStoreSpi.java)

at java.security.KeyStore.load(KeyStore.java:1456)

at com.ibm.gsk.ikeyman.keystore.KeyStoreProxyCreatorFactory$FileKeyStoreProxy.performLoad(KeyStoreProxyCreatorFactory.java)

at com.ibm.gsk.ikeyman.keystore.KeyStoreProxyCreatorFactory$CMSKeyStoreProxy.performLoad(KeyStoreProxyCreatorFactory.java)

... 55 more

One answer



permanent link
Arun K Sriramaiah (3.2k12265) | answered Sep 07 '18, 6:08 a.m.
edited Sep 07 '18, 6:29 a.m.

Below procedure worked for me, the correct process to change password .

 1. Open the kdb file with ikeyman , and it prompts for the password

2. It says the password is expired and asks me if I want to change it -> I says YES

3. I put in the new password (WebAS) twice, and select -> stash to file

4. Now it prompts me for the password. Be aware that this is the old password (****).

5. Now, I can reopen the kdb file with WebAS

  Note: step4 still needs to old password (doesn't make much sense to me but..), although step 3 asks your for the new one


Your answer


Register or to post your answer.