Support Article
Secured REST Connector with provided key/truststores fail
SA-13437
Summary
Connecting to a HTTPS REST Connector fails with SSLPeerUnverifiedException. This occurs despite having provided keystore and truststore information in the Rule form.
Error Messages
HTTP connect execution failure: peer not authenticated - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Steps to Reproduce
1. Configure a REST Connector over HTTPS.
2. Provide a keystore and truststore in the Rule-Connect-REST ruleform.
3. Attempt to connect.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
The issue resolves with the following local-change:
1. Include the section Rule-Connect-.pzSSLConfiguration in Rule-Connect-REST.pyService
2. Alter pyInvokeRESTConnector activity, Step 4
3. Replace String protocol = "SSL"; with String protocol = stepPage.getString("pySSLProtocolVersion");
Published August 28, 2015 - 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.