[infinispan-issues] [JBoss JIRA] (ISPN-4114) AuthAndEncryptProtocolTest fails with InvalidKeyException

Jakub Markos (JIRA) issues at jboss.org
Fri Mar 14 11:14:13 EDT 2014


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

Jakub Markos updated ISPN-4114:
-------------------------------

    Comment: was deleted

(was: Server configs used in the test)

    
> AuthAndEncryptProtocolTest fails with InvalidKeyException
> ---------------------------------------------------------
>
>                 Key: ISPN-4114
>                 URL: https://issues.jboss.org/browse/ISPN-4114
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Server
>            Reporter: Jakub Markos
>            Assignee: Mircea Markus
>         Attachments: clustered-auth-with-encrypt.xml, clustered-auth-wrong-certificate.xml, clustered-auth.xml
>
>
> The test is here: https://github.com/infinispan/infinispan/blob/master/server/integration/testsuite/src/test/java/org/infinispan/server/test/jgroups/auth/AuthAndEncryptProtocolTest.java
> and fails during the servers startup with this error:
> {code}
> 16:03:36,517 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.jgroups.channel.clustered: org.jboss.msc.service.StartException in service jboss.jgroups.channel.clustered: java.security.InvalidKeyException: No installed provider supports this key: sun.security.provider.DSAPublicKeyImpl
>         at org.jboss.as.clustering.jgroups.subsystem.ChannelService.start(ChannelService.java:74)
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_06]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_06]
>         at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06]
> Caused by: java.security.InvalidKeyException: No installed provider supports this key: sun.security.provider.DSAPublicKeyImpl
>         at javax.crypto.Cipher.chooseProvider(Cipher.java:878) [jce.jar:1.7.0_04-ea]
>         at javax.crypto.Cipher.init(Cipher.java:1653) [jce.jar:1.7.0_04-ea]
>         at javax.crypto.Cipher.init(Cipher.java:1549) [jce.jar:1.7.0_04-ea]
>         at org.jgroups.auth.X509Token.setCertificate(X509Token.java:188)
>         at org.jgroups.protocols.AUTH.init(AUTH.java:83)
>         at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:847)
>         at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:467)
>         at org.jgroups.JChannel.init(JChannel.java:824)
>         at org.jgroups.JChannel.<init>(JChannel.java:158)
>         at org.jboss.as.clustering.jgroups.MuxChannel.<init>(MuxChannel.java:37)
>         at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:81)
>         at org.jboss.as.clustering.jgroups.subsystem.ChannelService.start(ChannelService.java:69)
>         ... 5 more
> {code}
> The server config attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list