Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4888

ExampleConfigsIT.testSSLHotRodConfig fails on JDK8

    XMLWordPrintable

Details

    Description

      Java 8 doesn't support DSA keys longer than 1024 bits, so we need to change the test SSL key:

      org.infinispan.client.hotrod.exceptions.TransportException: javax.net.ssl.SSLException: Server key
          at sun.security.provider.DSA$LegacyDSA.checkKey(DSA.java:487)
          at sun.security.provider.DSA.engineInitVerify(DSA.java:152)
          at java.security.Signature$Delegate.init(Signature.java:1104)
          at java.security.Signature$Delegate.chooseProvider(Signature.java:1067)
          at java.security.Signature$Delegate.engineInitVerify(Signature.java:1122)
          at java.security.Signature.initVerify(Signature.java:452)
          at sun.security.ssl.HandshakeMessage$DH_ServerKeyExchange.<init>(HandshakeMessage.java:848)
          at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:208)
          at sun.security.ssl.Handshaker.processLoop(Handshaker.java:925)
          at sun.security.ssl.Handshaker.process_record(Handshaker.java:860)
          at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1043)
          at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
          at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:728)
          at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
          at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
          at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
          at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.flush(TcpTransport.java:164)
          at org.infinispan.client.hotrod.impl.operations.PingOperation.execute(PingOperation.java:42)
          at org.infinispan.client.hotrod.impl.operations.FaultTolerantPingOperation.executeOperation(FaultTolerantPingOperation.java:32)
          at org.infinispan.client.hotrod.impl.operations.FaultTolerantPingOperation.executeOperation(FaultTolerantPingOperation.java:18)
          at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:50)
          at org.infinispan.client.hotrod.impl.RemoteCacheImpl.ping(RemoteCacheImpl.java:573)
          at org.infinispan.client.hotrod.RemoteCacheManager.ping(RemoteCacheManager.java:650)
          at org.infinispan.client.hotrod.RemoteCacheManager.createRemoteCache(RemoteCacheManager.java:632)
          at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:533)
          at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:529)
          at org.infinispan.server.test.util.RemoteCacheManagerFactory.createCache(RemoteCacheManagerFactory.java:26)
          at org.infinispan.server.test.configs.ExampleConfigsIT.createCache(ExampleConfigsIT.java:722)
          at org.infinispan.server.test.configs.ExampleConfigsIT.testSSLHotRodConfig(ExampleConfigsIT.java:371)
      

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: