users@grizzly.java.net

org.glassfish.grizzly.SSLTest error

From: Johan Maasing <johan_at_zoom.nu>
Date: Wed, 27 Jul 2016 20:55:31 +0200

I'm trying to build the master branch and find a few tests that give errors:


Tests in error:
  testCompletionHandlerNotification[0](org.glassfish.grizzly.SSLTest):
java.lang.IllegalStateException: CompletionHandler.failed() should not have
been called.
  testCompletionHandlerNotification[1](org.glassfish.grizzly.SSLTest):
java.lang.IllegalStateException: CompletionHandler.failed() should not have
been called.
  testCompletionHandlerNotification[2](org.glassfish.grizzly.SSLTest):
java.lang.IllegalStateException: CompletionHandler.failed() should not have
been called.
  testCompletionHandlerNotification[3](org.glassfish.grizzly.SSLTest):
java.lang.IllegalStateException: CompletionHandler.failed() should not have
been called.

The (abbreviated) stack trace says:

    at java.security.AccessController.doPrivileged(Native Method)
    at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369)
    at
org.glassfish.grizzly.ssl.SSLUtils.executeDelegatedTask(SSLUtils.java:273)
    at
org.glassfish.grizzly.ssl.SSLBaseFilter.doHandshakeStep(SSLBaseFilter.java:702)
    ... 14 more
Caused by: java.security.cert.CertificateException: Certificates does not
conform to algorithm constraints
    at
sun.security.ssl.AbstractTrustManagerWrapper.checkAlgorithmConstraints(SSLContextImpl.java:1055)
    at
sun.security.ssl.AbstractTrustManagerWrapper.checkAdditionalTrust(SSLContextImpl.java:1023)


I tried with a fresh install of JDK 1.8.0_u102 and u73 (Windows 10_x64)
both give the same error.

Is this a known error or might it be something strange with my machine?

/JM