IBM Support

Sterling B2B Integrator AS2 communication failing with OID error in Pipeline.log

Troubleshooting


Problem

After configuring a new trading partner to use SHA2 signing algorithm, per the trading partner's requirements, the trading partner is unable to connect to SBI.

Symptom

Pipeline.log error

[2016-04-05 12:51:15.247] ERROR DataFlowStage.doTransform() [DetachedSignatureVerifierDT-200] caught exception, shutting down.
[2016-04-05 12:51:15.247] ERROR [1459878675247] Cannot find class name for OID: Oid 1.2.840.113549.1.9.52
[2016-04-05 12:51:15.247] ERRORDTL [1459878675247]com.trustpoint.asn.AsnException: Cannot find class name for OID: Oid 1.2.840.113549.1.9.52
at com.trustpoint.asn.AsnSetOfAny.setIdBy(Unknown Source)
at com.trustpoint.asn.AsnStructured.createMember(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingTag(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnEnvelope.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingMember(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnEnvelope.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingMember(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnEnvelope.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingMember(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnEnvelope.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingMember(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnEnvelope.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingMember(Unknown Source)
at com.trustpoint.asn.AsnStructured.proceedWithDecodingData(Unknown Source)
at com.trustpoint.asn.AsnObject.proceedWithDecoding(Unknown Source)
at com.trustpoint.asn.AsnObject.proceed(Unknown Source)
at com.sterlingcommerce.woodstock.packager.dataflow.dt.DetachedSignatureVerifierDT.transform(DetachedSignatureVerifierDT.java:197)
at com.sterlingcommerce.woodstock.packager.dataflow.DataFlowStage.doTransform(DataFlowStage.java:255)
at com.sterlingcommerce.woodstock.packager.dataflow.DataFlowStage.access$1200(DataFlowStage.java:52)
at com.sterlingcommerce.woodstock.packager.dataflow.DataFlowStage$6.run(DataFlowStage.java:282)
at com.sterlingcommerce.perimeter.api.scheduler.TaskNode.run(TaskNode.java:62)
at com.sterlingcommerce.perimeter.api.scheduler.DebugPooledExecutor$Worker.run(DebugPooledExecutor.java:786)
at java.lang.Thread.run(Thread.java:781)

Cause

This has been identified as a product defect under APAR IT14005

Diagnosing The Problem

Analyze the logs and ensure the error reported in the Pipeline.log is the OID error as described in this article.

Resolving The Problem

Apply Sterling B2B Integrator 5.2.6.1 or above.
Add or edit (if already present) the following to security.properties.in:
OverrideAsnCompliancePolicy=true
run setupfiles.sh

Note - This solution might not work for all OID failures. This is well tested for OID 1.2.840.113549.1.9.52

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Adapters","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF014","label":"iOS"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
14 November 2019

UID

swg21983854