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

SA-96419

Summary



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: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: 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.



Resolution



Perform the following local-change:

Set the below JVM argument in all the nodes:

JAVA_OPTS="$JAVA_OPTS -Dcom.sun.security.enableAIAcaIssuers=true"

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?

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