Skip to content

Issue with Java 7 and Toolkit 4

Sunil Bhaskarla edited this page Mar 9, 2017 · 2 revisions

There is a known issue with SSL certificate handshake in Toolkit 4 and Java 7. In Java version "1.7.0_02" a SAML assertion issue request to the Gazelle STS fails with the SSLException as shown below.

Using Java 8 solves this issue.

Error: stepId=issue : javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair:
java.lang.RuntimeException: Could not generate DH keypair
Exception SSLException
    at gov.nist.toolkit.testengine.transactions.HTTPTransaction.run(HTTPTransaction.java:133)
    at gov.nist.toolkit.testengine.transactions.BasicTransaction.doRun(BasicTransaction.java:224)
    at gov.nist.toolkit.testengine.engine.StepContext.run(StepContext.java:400)
    at gov.nist.toolkit.testengine.engine.PlanContext.run(PlanContext.java:252)
    at gov.nist.toolkit.testengine.engine.XdsTest.runAndReturnLogs(XdsTest.java:544)
    at gov.nist.toolkit.testengine.engine.Xdstest2.run(Xdstest2.java:265)
    at gov.nist.toolkit.session.server.serviceManager.UtilityRunner.run(UtilityRunner.java:189)
    at gov.nist.toolkit.session.server.serviceManager.TestRunner.run(TestRunner.java:78)
    at gov.nist.toolkit.session.server.serviceManager.XdsTestServiceManager.runMesaTest(XdsTestServiceManager.java:151)
    at gov.nist.toolkit.session.server.serviceManager.XdsTestServiceManager.runTestplan(XdsTestServiceManager.java:166)
    at gov.nist.toolkit.session.server.serviceManager.XdsTestServiceManager.querySts(XdsTestServiceManager.java:232)
    at gov.nist.toolkit.xdstools2.server.ToolkitServiceImpl.getStsSamlAssertion(ToolkitServiceImpl.java:1144)
Clone this wiki locally