Support Article
SSLHandshakeException running prpcServiceUtils export
SA-59978
Summary
Running prpcServiceUtils export through Jenkins fails.
Web application URL uses HTTPS due to the Apache web server in front of the Tomcat application server.
Error Messages
Error Messages : REQUEST_EXECUTION_ERROR com.pega.pegarules.serviceclient.exception.PRPCServiceException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification
Steps to Reproduce
Run prpcServiceUtils export.
Root Cause
A defect or configuration issue in the operating environment.
Certificates are incorrect to allow trust between the node running the REST Service call and the application server.
Resolution
Make the following change to the operating environment:
Add the correct truststore. Configure this using the -D argument or import the trust certificates to Jenkins JVM's cacerts keystore to make the HTTPS call.
Published September 20, 2018 - 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.