IBM Support

DataStage Web Service stage error - javax.net.ssl.SSLKeyException: RSA premaster secret

Troubleshooting


Problem

Users may encounter "javax.net.ssl.SSLKeyException: RSA premaster secret" when trying to use a Web Service Client stage to connect to a web service

Symptom

The entire stack trace is available in the job log:


com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
   <faultcode xmlns="">Server.userException</faultcode>
   <faultstring xmlns="">javax.net.ssl.SSLKeyException: RSA premaster secret error</faultstring>
   <detail xmlns="">
    <stackTrace xmlns="http://xml.apache.org/axis/">javax.net.ssl.SSLKeyException: RSA premaster secret error
 at com.ibm.jsse2.jb.&lt;init&gt;(jb.java:90)
 at com.ibm.jsse2.lb.a(lb.java:522)
 at com.ibm.jsse2.lb.a(lb.java:349)
 at com.ibm.jsse2.kb.s(kb.java:545)
 at com.ibm.jsse2.kb.a(kb.java:530)
 at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:79)
 at com.ibm.jsse2.SSLSocketImpl.h(SSLSocketImpl.java:437)
 at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:142)
 at com.ibm.jsse2.SSLSocketImpl.startHandshake(SSLSocketImpl.java:686)
 at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:224)
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
 at org.apache.axis.client.Call.invoke(Call.java:2553)
 at org.apache.axis.client.Call.invoke(Call.java:1753)
 at com.ascentialsoftware.wsclient.OperationCall.invoke(OperationCall.java:285)
 at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1685)
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
 at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
 at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
 at com.ascentialsoftware.jds.StageFactory.runTransformer(StageFactory.java:361)
Caused by: java.security.InvalidKeyException: Illegal key size or default parameters
 at javax.crypto.Cipher.a(Unknown Source)
 at javax.crypto.Cipher.a(Unknown Source)
 at javax.crypto.Cipher.a(Unknown Source)
 at javax.crypto.Cipher.init(Unknown Source)
 at com.ibm.jsse2.jb.&lt;init&gt;(jb.java:3)
 ... 25 more
</stackTrace>
   </detail>
  </Fault>
 at com.ascentialsoftware.wsclient.OperationCall.handleRemoteException(OperationCall.java:388)
 at com.ascentialsoftware.wsclient.OperationCall.invoke(OperationCall.java:293)
 at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1685)
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
 at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
 at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
 at com.ascentialsoftware.jds.StageFactory.runTransformer(StageFactory.java:361)

[{"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.3;11.3.1.0;11.3.1.1;11.3.1.2;11.5;9.1;9.1.0.1;9.1.2.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
25 April 2025

UID

swg21971637