Support Article
Issue with TLS version 1.2 support for SOAP Connectors
SA-1907
Summary
User is integrating their internal systems with PRPC environment. They have configured SOAP Connector in PRPC to access an external SOAP Service (secured strictly with TLS v1.2). On executing the SOAP Connector, user was encountering "javax.net.ssl.SSLException: Received fatal alert" error.
Error Messages
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
Steps to Reproduce
1. Setup a SOAP Service secured with TLS v1.2 with 2 way SSL setup.
2. Create a SOAP Connector in PRPC and connect to this external secured SOAP Service created above.
Root Cause
This has been identified as an issue in Pega 7.1.6. This has been fixed Pega 7.1.7.
Resolution
Suggested a local change - save-as out-of-the-box activity InvokeAxis2 in application ruleset and update following Java code snippet in the step-8 -
Code Before Fix :
} else if(keyStorePageSSL != null && trustStorePage != null) {
if(keyStoreBytes != null)
tsInputStream = new java.io.ByteArrayInputStream(keyStoreBytes);
if(trustStoreBytes != null)
ksInputStream= new java.io.ByteArrayInputStream(trustStoreBytes);
if(keyStoreBytes != null)
tsInputStream = new java.io.ByteArrayInputStream(keyStoreBytes);
if(trustStoreBytes != null)
ksInputStream= new java.io.ByteArrayInputStream(trustStoreBytes);
Code After Fix :
} else if(keyStorePageSSL != null && trustStorePage != null) {
if(keyStoreBytes != null)
ksInputStream = new java.io.ByteArrayInputStream(keyStoreBytes);
if(trustStoreBytes != null)
tsInputStream = new java.io.ByteArrayInputStream(trustStoreBytes);
if(keyStoreBytes != null)
ksInputStream = new java.io.ByteArrayInputStream(keyStoreBytes);
if(trustStoreBytes != null)
tsInputStream = new java.io.ByteArrayInputStream(trustStoreBytes);
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.