Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Handshake error when trying to call SOAP service

SA-13646

Summary



Environment is setup as below. 

SOAP consumer - Client - (Pega 7.1.6) - Java 1.7
SOAP provider - Server - (Pega 6.2 SP2) - Java 1.6

From Pega 7.1.6 Connect-SOAP is used to hit service hosted on PRPC 6.2 SP2 of different server. In between, there is VIP (load balancer). A  handshake_failure exception occurs on hitting the service.


Error Messages



javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at com.ibm.jsse2.j.a(j.java:4)
    at com.ibm.jsse2.j.a(j.java:31)
    at com.ibm.jsse2.qc.b(qc.java:624)
    at com.ibm.jsse2.qc.a(qc.java:850)
    at com.ibm.jsse2.qc.h(qc.java:194)
    at com.ibm.jsse2.qc.a(qc.java:358)
    at com.ibm.jsse2.h.write(h.java:33)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:93)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:151)


Steps to Reproduce



1. Take the VIP endpoint URL of SOAP service.
2. Use this URL in other Pega application.
3. Try to call this service.


Root Cause



The JVM overrides the security policy of PRPC and always sets it to SSL3 even though the security policy is changed to any (TLSv1.2/TLS/TLSv1.1).

Resolution

  1. Create WS Security profile  with valid  keystores of both Server and Client.
  2. Mapp the WS Security profile  to the Connect-SOAP  rule from the advanced tab.



This overrides JVM and takes security policy that is set in the Advanced tab of the Connect-SOAP for handshake. 

Published September 4, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice