Question

How to use Keystore, truststore without mention in connect-rest rule? how to create truststore in pega?

How to use Keystore, truststore without mention in connect-rest rule? how to create truststore in pega? Please explain keystore and trust store how it works while hit connect-rest rule?

Comments

Keep up to date on this post and subscribe to comments

June 4, 2019 - 7:06am

You can specify both keystore/truststore at the application server level. What is your app server? The actual details are app server specific.

June 18, 2019 - 8:54am

Hi Kevin,

Thanks for your reply. We are using Websphere application server.
Server team saying Truststore certificate is enough in Application server path.
Is it right. We are planning dynamic keystore\truststore referencing instead of keeping in each connect-rest rule using option certificate server path(Reference to File-- option in dropdown Keystore location)

June 19, 2019 - 9:35am

We received Truststore certificate server path : /hosting/configs/WebSphereD01/DeploymentManager/config/cells/CD01-lva60bwcrtas10v/trust.p12.

But when we give above path in Pega Keystore rule while saving itself, we are getting "file not found" getting. Could you suggest ?

It seems server path issue. But what we need to ask server team?

I have attached doc for reference

Thanks
Rajasekhar

June 26, 2019 - 7:35am

Getting below error when we given keystore (Keystore certification (.pfx file)placed in server path and created keystore rule in pega, that pega keystore rule placed in connect-Rest rule)

com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: com.pega.pegarules.pub.services.ConnectorException: SSL configuration: unable to instantiate JSSE socket factory

October 21, 2019 - 10:27pm
Response to rajasekharb2130

We are facing the same issue when performing REST integration, is there is any solution or a work around fix for it  ?

com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: com.pega.pegarules.pub.services.ConnectorException: SSL configuration: unable to instantiate JSSE socket factory

Pega

Pega
October 22, 2019 - 2:02am

Also try by enabling the Dynamic System Setting "https/allowAllHostnames" in "Pega-IntegrationEngine" ruleset  to "true".

Thanks