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

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");

 

Suggest Edit

Published August 28, 2015 - Updated October 8, 2020

Did you find this content helpful? Yes No

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