Support Article
** ** Caught unhandled exception: javax.net.ssl.SSLPeerUnverifie
SA-34021
Summary
SSL certificate was updated on the service side and the protocol e version was restricted to TLSv1.2. After installing the certificates at application server truststore, user is not able to execute the service call from Pega.
RROR MESSAGES
com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Steps to Reproduce
Test 1
Install the service endpoint certificates at PEGA application server truststore
Use REST integration wizard to consume the endpoint
Execute the Datapage to run the REST connector
Test2
Put the certificates at the REST connector rule level and Run the datapage again
This time the connectivity works
Root Cause
A defect in Pegasystems’ rule pyInvokeRESTConnector. The service endpoint is configured to support TLSv1.2. The Tomcat application server is using JAVA 1.7.x which does support TLSv1.2 but the default version is TLSv1.1. The pyInvokeRESTConnector activity was performing handshake using TLSv1.1 and failing.
Resolution
Apply HFix-29038 and recycle the server.
Published March 11, 2017 - 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.