Support Article

Keystore Issue during Connect SOAP Call

SA-26241

Summary



SOAP call fails sporadically with the following error message.

Error Messages



00:00:25,286 [ DispatchThread: 1](a.PegaSSLProtocolSocketFactory) ERROR JMS|CPTPackage|HIG-FW-CPTFW-Work|CPTBillService|A8DE4BD45785963B0BC738EF4D20521E6|Rule-Connect-SOAP.HIG-FW-CPTFW-Int-BRS-PckgServc-QuoteRules-.executeHomeRules - Invalid keystore format
java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
at java.security.KeyStore.load(KeyStore.java:1183)
at com.pega.apache.commons.pega.PegaSSLProtocolSocketFactory.createKeyStore(PegaSSLProtocolSocketFactory.java:197)

Steps to Reproduce

  1. Add a keystore in the Connect_SOAP rule.
  2. Invoke Connect SOAP from the application.

Root Cause



The keystore or truststore used in the ws-security profile was not correct or has a wrong password.

Resolution



Perform the following local-change:
Update the rule level keystore or truststore with the correct one, and delete the service provider certificates from the application server truststore.

Published July 29, 2016 - Updated August 9, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.