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

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

SA-44186

Summary



SSLPeerUnverifiedException when connecting to the REST endpoint. REST endpoint is using TLS v1.2.


Error Messages



com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated


Steps to Reproduce

  1. Create a Connect-REST rule.
  2. Create a truststore rule in the Connect-REST rule and import the REST Endpoint certificates.
  3. Execute the Connect-REST to connect to a TLS v1.2 or TLS v1.1 version enabled Endpoints.


Root Cause



A defect in Pegasystems’ code or rules. The out-of-the-box invokeaxis2 activity had the hardcoded protocol value of SSL.


Resolution



Perform the following local-change:
  1. Ensure the truststore contains the complete signer certificates chain (the Intermediate and the Root certificates)
  2. Edit the out-of-the-box pyInvokeRESTConnector activity.
String protocol = "SSL";
To
String protocol = "SSL_TLSv2";



Suggest Edit

Published February 11, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

50% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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