[jboss-jira] [JBoss JIRA] Resolved: (JGRP-1144) AUTH: X.509 issue with keystore

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Apr 8 07:14:37 EDT 2010


     [ https://jira.jboss.org/jira/browse/JGRP-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1144.
----------------------------

    Resolution: Done


X509Token.valueSet was never set to true, so all authentication failed. This is a regression from 2.6.x.

> AUTH: X.509 issue with keystore
> -------------------------------
>
>                 Key: JGRP-1144
>                 URL: https://jira.jboss.org/jira/browse/JGRP-1144
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.10
>
>
> 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 ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list