Support Article
Error with TLS 1.2 using prpcServiceUtil to integrate Jenkins
SA-32284
Summary
prpcServiceUtil that calls System Management REST service methods works fine using Transport Layer Security (TLS) protocol 1.0 but throws an error with TLS 1.2.
Error Messages
- Request on system DefaultSystem failed
java.util.concurrent.ExecutionException: com.pega.pegarules.serviceclient.exception.PRPCServiceException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.7.0_80]
at java.util.concurrent.FutureTask.get(FutureTask.java:202) ~[?:1.7.0_80]
at com.pega.pegarules.serviceclient.requestmanager.RequestManager.processResponse(RequestManager.java:156) [prdeploy.jar:?]
at com.pega.pegarules.serviceclient.requestmanager.RequestManager.doOperation(RequestManager.java:141) [prdeploy.jar:?]
at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:100) [prdeploy.jar:?]
at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61) [prdeploy.jar:?]
Caused by: com.pega.pegarules.serviceclient.exception.PRPCServiceException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Steps to Reproduce
- Follow steps given in this link to integrate jenkins:
https://pdn.pega.com/using-prpcserviceutils-and-jenkins-automated-application-deployment/using-prpcserviceutils-and - Run script.
Root Cause
A defect or configuration issue in the operating environment. Although Pega 7.2.1 node is running on Oracle Java 7, prpcServiceUtils client is run with Oracle Java 1.8.
Resolution
Make the following change to the operating environment:
Use Oracle Java 1.8 on Pega 7.2.1 that defaults to TLS 1.2 protocol. Oracle Java 7 defaults to TLS 1.0.
Published January 17, 2017 - 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.