B2B inbound message fails with com.phaos.crypto.CipherException

(Doc ID 1157864.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Integration B2B - Version: 10.1.2.0.2 to 10.1.2.3.0 - Release: AS10gR2 to
Information in this document applies to any platform.

Symptoms

On B2B 10.1.2.3 MLR13 in a 2 Node cluster.

When trying receive an inbound message the following error message is seen:
2010.07.09 at 15:15:43:615: Thread-11: B2B - (ERROR) com.phaos.ASN1.ASN1FormatException: com.phaos.crypto.CipherException: Invalid padding string (or incorrect password)
at com.phaos.cert.PKCS12Safe.input(Unknown Source)
at com.phaos.cert.PKCS12Safe.<init>(Unknown Source)
at com.phaos.cert.PKCS12.input(Unknown Source)
at com.phaos.cert.PKCS12.<init>(Unknown Source)
at oracle.security.pki.OracleKeyStoreSpi.engineLoad(OracleKeyStoreSpi)
at java.security.KeyStore.load(KeyStore.java:695)
at oracle.tip.adapter.b2b.utility.Utility.getKeyPairs(Utility.java:2212)
at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.decrypt(SmimeSecureMessaging.java:1396)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processEncryptedMimeBodyPart(MimePackaging.java:1073)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processInputStreamOrStringMessage(MimePackaging.java:1152)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:736)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.doUnpack(MimePackaging.java:656)
at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.unpack(MimePackaging.java:586)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1441)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2593)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2463)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2418)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java(Compiled Code))
at java.lang.Thread.run(Thread.java:570)

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms