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

SSLPeerUnverifiedException thrown when invoking REST service

SA-16912

Summary



Invoking a REST Service from within Pega results in a SSL handshake error

Error Messages



javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated


Steps to Reproduce



Invoke REST service from Pega


Root Cause



A defect or configuration issue in the operating environment.  The certificates needed for the SSL connection are not defined in the Pega Truststore.  In Pega 7.1.7+ the management of the truststore used in the SSL handshake should be handled by Pega.  On the Connect-Rest rule there is a property that will allow you to specify a truststore with the needed certificates.  

Resolution



Make the following change to the operating environment:  

Explicitly provided a trust store in the REST connector rules

Here is a video that talks about this type of issue.

https://pdn.pega.com/pegatube/support-guide-how-to-solve-a-certificate-exception-error-during-ssl-handshake

Published January 31, 2016 - Updated October 8, 2020

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