Abstract: Error message "Unexpected number of X509Data: for Signature" during Soap Request/Reply operation

Abstract: Error message "Unexpected number of X509Data: for Signature" during Soap Request/Reply operation

book

Article ID: KB0094410

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
========
This error occurs when a security policy is applied to Saop Request Reply Operation. You will see this error when you use a j2se provider and the identity file is using a p12 that has a cert chain.

Environment:
ALL

Symptoms:

  Error message:

caused by: com.tibco.spin.soap.processors.SoapProcessingException: General secur

ity error (Unexpected number of X509Data: for Signature)

        at com.tibco.spin.soap.security.WSS4JSecurityPolicyProcessor.a(WSS4JSecu

rityPolicyProcessor.java:410)

        at com.tibco.spin.soap.security.WSS4JSecurityPolicyProcessor.processOutb

oundMessage(WSS4JSecurityPolicyProcessor.java:321)

        at com.tibco.spin.soap.security.WSS4JSecurityPolicyProcessor.process(WSS

4JSecurityPolicyProcessor.java:178)

        at com.tibco.spin.soap.processors.SoapPipeline.process(SoapPipeline.java

:561)

        at com.tibco.spin.soap.processors.SoapPipeline.prepare(SoapPipeline.java

:415)

Cause:
=====
This is a BW defect and CR logged with id 1-95OFJ9

Workaround:
=========
Convert the p12 to a jks file and in the outbound policy specify the "certificate alias" field in the integrity tab.


Issue/Introduction

Abstract: Error message "Unexpected number of X509Data: for Signature" during Soap Request/Reply operation

Additional Information

CR#1-95OFJ9