Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2501

[EAP][Regression] java.io.IOException: Invalid secret key format on JCEKS keystores

XMLWordPrintable

      On the current jboss-eap-7/eap71-openshift:1.2-15 (unreleased) there seems to be a regression affecting the JCEKS keystores. The only change in the image since 1.2-12 is an update to the OpenJDK java-1.8.0-openjdk-1.8.0.171-7.b10.el7.x86_64

      5:44:07,350 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 68) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: java.lang.Exception: Unable to load keystore /etc/jgroups-encrypt-secret-volume/jgroups.jceks: java.io.IOException: Invalid secret key format
              at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:104)
              at org.wildfly.clustering.service.AsynchronousServiceBuilder.lambda$start$0(AsynchronousServiceBuilder.java:99)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
              at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.lang.Exception: Unable to load keystore /etc/jgroups-encrypt-secret-volume/jgroups.jceks: java.io.IOException: Invalid secret key format
              at org.jgroups.protocols.SYM_ENCRYPT.readSecretKeyFromKeystore(SYM_ENCRYPT.java:106)
              at org.jgroups.protocols.SYM_ENCRYPT.init(SYM_ENCRYPT.java:76)
              at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:861)
              at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:831)
              at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:108)
              at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:102)
              ... 5 more
      

              kwills@redhat.com Ken Wills
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: