Not able to connect to REST and SOAP Service
User has created REST Connector to connect to RESTService and it is failing with certificate mismatch error and SSLException trace in log files.
To fix the above issue, user has created following Dynamic System Setting (DSS):
Owninig Ruleset: Pega-IntegrationEngine ,
Setting Purpose: https/allowAllHostnames ,Value:true
With the above DSS, the certificate mismatch error was resolved but user started experiencing SSLPeerUnverifiedException.
And, user is facing one more issue: ResourceUnavailableException with connect to the SOAP Services using SOAP Connector which was working before the DSS is created.
Following certificate mismatch error was reported.
“com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: javax.net.ssl.SSLException: hostname in certificate didn't match”
Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
com.pega.pegarules.pub.services.ResourceUnavailableException: SOAP service failed
Steps to Reproduce
1. Click on DesignerStudioàIntegrationàConnectorsàCreate REST Integration and connected to REST service.
2. Click on DesignerStudioàIntegrationàConnectorsàCreate SOAP Integration and connected to SOAP service.
A defect in Pegasystems’ code or rules.
Following local-changes were applied to fix reported issues:
Comment out the following line from step # 8 of “invokeAxis2” Activity.
Restore an older version of “pyInvokeRESTConnector” Activity from Ruleset version 07-10-15 overwriting 07-10-19.
Published August 24, 2016 - Updated October 8, 2020