taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stian Soiland-Reyes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAVERNA-1025) SSL error: Could not generate DH keypair
Date Tue, 07 Nov 2017 11:15:01 GMT
Stian Soiland-Reyes created TAVERNA-1025:

             Summary: SSL error: Could not generate DH keypair
                 Key: TAVERNA-1025
                 URL: https://issues.apache.org/jira/browse/TAVERNA-1025
             Project: Apache Taverna
          Issue Type: Bug
          Components: Taverna Common Activities
            Reporter: Stian Soiland-Reyes
            Assignee: Stian Soiland-Reyes
             Fix For: workbench 3.1.0

[Reported by Moein Jafari|

I get the following error
when I try to import a WSDL service (have tried PubChem and ChEBI):

"Could not read the WSDL definition from
javax.net.ssl.SSLException:java.lang.RuntimeException: Could not generate
DH keypair".

What I have tried:
- changed all Java local_policy and US_export_policy files with unlimited
versions. This did not work.

I am running Windows 10.

Possibly related to StackOverflow question: https://stackoverflow.com/questions/14253039/is-there-a-workaround-for-java-lang-runtimeexception-could-not-generate-dh-key/21617747

In [our investigation|https://gitter.im/apache/taverna?at=59f7250ff7299e8f534d9b20] we think
that you need to *remove* from taverna.bat/taverna.sh/taverna.vmoptions the equivalent of

set ARGS=%ARGS% "-Dcom.sun.net.ssl.enableECC=false"
set ARGS=%ARGS% "-Djsse.enableSNIExtension=false"

I can't find a log of why we added these properties in the first place; probably as a workaround
for an SSL bug in early JDK releases -- and should probably not be needed anymore with JDK8.

This message was sent by Atlassian JIRA

View raw message