com.ibm.gsk.ikeyman.error.KeyManagerException

java.security.KeyStoreException: java.lang.RuntimeException: Bad record encoding.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • java.security.KeyStoreException: java.lang.RuntimeException: Bad record encoding.
  • java.security.KeyStoreException: java.lang.RuntimeException: Bad record encoding.
  • java.security.KeyStoreException: java.lang.RuntimeException: Error initialising cipher
  • Stack trace

    • com.ibm.gsk.ikeyman.error.KeyManagerException: java.security.KeyStoreException: java.lang.RuntimeException: Bad record encoding. at com.ibm.gsk.ikeyman.keystore.EntryBagFactory$BasicKeyStoreBag.makeEntry(EntryBagFactory.java:500) at com.ibm.gsk.ikeyman.keystore.EntryBagFactory$AbstractKeyStoreBag.getItem(EntryBagFactory.java:392) at com.ibm.gsk.ikeyman.keystore.EntryBagFactory$CompoundEntryBag.getItem(EntryBagFactory.java:661) at com.ibm.gsk.ikeyman.keystore.EntryBagFactory$AbstractEntryContainerBag.getItem(EntryBagFactory.java:197) at com.ibm.gsk.ikeyman.keystore.EntryInterfaceFactory$CompoundEntryInterface.getItem(EntryInterfaceFactory.java:360) at com.ibm.gsk.ikeyman.keystore.KeyStoreItemFactory$KeyStoreItemImpl.getEntries(KeyStoreItemFactory.java:721) at com.ibm.gsk.ikeyman.keystore.KeyStoreItemFactory$KeyStoreItemImpl.getCertificates(KeyStoreItemFactory.java:756) at com.ibm.gsk.ikeyman.keystore.KeyStoreItemFactory$KeyStoreItemImpl.getInfo(KeyStoreItemFactory.java:771) at com.ibm.gsk.ikeyman.command.Command.fireKeyManagerEventDatabaseChanged(Command.java:136) at com.ibm.gsk.ikeyman.command.CommandFactory$AbstractDeleteCommand.run(CommandFactory.java:278) at com.ibm.gsk.ikeyman.command.Command.invoke(Command.java:198) at com.ibm.gsk.ikeyman.command.gui.KeymanController$Invoker.invoke(KeymanController.java:261) at com.ibm.gsk.ikeyman.command.gui.KeymanController.actionPerformed(KeymanController.java:94) at com.ibm.gsk.ikeyman.gui.panels.KeymanPanel.fireActionPerformed(KeymanPanel.java:54) at com.ibm.gsk.ikeyman.gui.panels.KeymanPanel.actionPerformed(KeymanPanel.java:48) at com.ibm.gsk.ikeyman.gui.panels.KeymanPanel.fireActionPerformed(KeymanPanel.java:54) at com.ibm.gsk.ikeyman.gui.panels.KeymanPanel.actionPerformed(KeymanPanel.java:48) at com.ibm.gsk.ikeyman.gui.panels.ContentsPanel.actionPerformed(ContentsPanel.java:334) at com.ibm.gsk.ikeyman.gui.panels.KeymanPanel.fireActionPerformed(KeymanPanel.java:54) at com.ibm.gsk.ikeyman.gui.panels.KeymanPanel.actionPerformed(KeymanPanel.java:48) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2006) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2329) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:398) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:283) at java.awt.Component.processMouseEvent(Component.java:6301) at javax.swing.JComponent.processMouseEvent(JComponent.java:3278) at java.awt.Component.processEvent(Component.java:6066) at java.awt.Container.processEvent(Container.java:2052) at java.awt.Component.dispatchEventImpl(Component.java:4664) at java.awt.Container.dispatchEventImpl(Container.java:2110) at java.awt.Component.dispatchEvent(Component.java:4494) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4588) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4249) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4179) at java.awt.Container.dispatchEventImpl(Container.java:2096) at java.awt.Window.dispatchEventImpl(Window.java:2490) at java.awt.Component.dispatchEvent(Component.java:4494) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:652) at java.awt.EventQueue.access$000(EventQueue.java:95) at java.awt.EventQueue$1.run(EventQueue.java:613) at java.awt.EventQueue$1.run(EventQueue.java) at java.security.AccessController.doPrivileged(AccessController.java:224) at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30) at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:34) at sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:34) at java.awt.EventQueue$2.run(EventQueue.java:626) at java.awt.EventQueue$2.run(EventQueue.java:624) at java.security.AccessController.doPrivileged(AccessController.java:224) at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30) at sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:29) at java.awt.EventQueue.dispatchEvent(EventQueue.java:623) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:280) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172) at java.awt.EventDispatchThread.run(EventDispatchThread.java:133) Caused by: java.security.KeyStoreException: java.lang.RuntimeException: Bad record encoding. at com.ibm.security.cmskeystore.CMSKeyStoreSpi.engineGetEntry(CMSKeyStoreSpi.java:1389) at java.security.KeyStore.getEntry(KeyStore.java:441) at com.ibm.gsk.ikeyman.keystore.EntryBagFactory$BasicKeyStoreBag.makeEntry(EntryBagFactory.java:487) ... 58 more Caused by: java.lang.RuntimeException: Bad record encoding. at com.ibm.security.cmskeystore.RecordEncodingFactory$RecordEncodingImpl.isTrusted(RecordEncodingFactory.java:257) at com.ibm.security.cmskeystore.CMSKeyStoreSpi.engineGetEntry(CMSKeyStoreSpi.java:1382) ... 60 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago