My Oracle Support Banner

Error Aip-51162: Invalid Asn.1 Tag Reported In B2b Log Using Der X.509 Ssl Cert (Doc ID 332615.1)

Last updated on OCTOBER 30, 2019

Applies to:

Oracle B2B 10g (Business to Business) - Version 10.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

You are seeing Error AIP-51162: invalid asn.1 tag being reported in the b2b.log when attempting to use an ssl certificate in DER encoded binary X.509 format.

Example:
oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: printErrorInfo
Entering...
2005.08.22 at 08:10:48:769: Thread-12: B2B - (DEBUG)
oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: printErrorInfo-2203
: XXXsaut.c : XXXX_decode : 267

2005.08.22 at 08:10:48:771: Thread-12: B2B - (DEBUG)
oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: printErrorInfo
Leaving...
2005.08.22 at 08:10:50:082: Thread-12: B2B - (ERROR) Error -: AIP-51162: invalid asn.1 tag.
at
oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.encrypt(SmimeSecureMessaging.java:1218)
at

oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createEncryptedMimeBodyPart(MimePackaging.java:
35)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1600)
at
oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:210)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:95)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1044)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:685)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:807)
at
oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:110)
at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:317)
at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:192)

2005.08.22 at 08:10:50:086: Thread-12: B2B - (ERROR) Error -: AIP-51162: invalid asn.1 tag.
at
oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.encrypt(SmimeSecureMessaging.java:1218)
at

oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createEncryptedMimeBodyPart(MimePackaging.java:
35)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1600)
at
oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:210)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:95)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1044)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:685)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:807)
at
oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:110)
at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:317)
at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:192)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.