Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1144

AUTH: X.509 issue with keystore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.10
    • Labels:
      None

      Description

      Draw with JGroups/conf/auth_x509.xml doesn't work:
      [linux]/home/bela$ draw -props JGroups/conf/auth_X509.xml
      fatal error: unable to setup the protocol stack, cause:
      java.io.IOException: Invalid keystore format
      at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)
      at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
      at java.security.KeyStore.load(KeyStore.java:1185)
      at org.jgroups.auth.X509Token.setCertificate(X509Token.java:177)
      at org.jgroups.protocols.AUTH.init(AUTH.java:58)
      at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:647)
      at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:457)
      at org.jgroups.JChannel.init(JChannel.java:1702)
      at org.jgroups.JChannel.<init>(JChannel.java:243)
      at org.jgroups.JChannel.<init>(JChannel.java:226)
      at org.jgroups.demos.Draw.<init>(Draw.java:56)
      at org.jgroups.demos.Draw.main(Draw.java:154)

      Perhaps this is caused by our changes in the Bouncycastle JAR ?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  belaban Bela Ban
                  Reporter:
                  belaban Bela Ban
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: