Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
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 ?
Attachments
Issue Links
- blocks
-
JGRP-1187 AUTH - X509Token authentication failure
- Resolved