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

Exception while connecting to external service



Exception occurs while connecting to an external service using Connect-REST. This occurs despite not using any certificate.

Error Messages

Caught unhandled exception: java.lang.RuntimeException: PKIX path building failed: unable to find valid certification path to requested target

Steps to Reproduce

  1. Configure a Connect-REST with an Authentication profile and URL-Encoded input parameters.
  2. Test the Connectivity.

Root Cause

A third-party product: Certificate issue.
The certificate details were not read or encrypted correctly.


Perform the following local-change:

Set the below JVM argument in all the nodes:


Published March 24, 2020 - Updated December 2, 2021

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.

Did you find this content helpful?

Want to help us improve this content?

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
Contact us