My Oracle Support Banner

B2B 10g - java.security.cert.CertificateParsingException: java.io.IOException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 49) (Doc ID 1184664.1)

Last updated on AUGUST 17, 2018

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 updated your host trading partner certificates for encryption and digital signature and sent them to your trading partners. Everything worked fine for several days. But now the following error is occuring.

java.security.cert.CertificateParsingException: java.io.IOException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 49)
at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:155)
at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1679)
at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:173)
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:101)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:389)
at oracle.tip.adapter.b2b.init.Repository.generateCertificate(Repository.java:1449)
at oracle.tip.adapter.b2b.init.Repository.readCertificates(Repository.java:1360)
at oracle.tip.adapter.b2b.init.Repository.initExchange(Repository.java:653)
at oracle.tip.adapter.b2b.init.Repository.initialize(Repository.java:726)
at oracle.tip.adapter.b2b.init.B2BServer.readRepository(B2BServer.java:451)
at oracle.tip.adapter.b2b.init.B2BServer.initialize(B2BServer.java:183)
at oracle.tip.adapter.b2b.init.B2BStarter.restartB2B(B2BStarter.java:289)
at oracle.tip.adapter.b2b.init.B2BStarter.run(B2BStarter.java:156)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 49)
at sun.security.util.ObjectIdentifier.<init>(ObjectIdentifier.java:134)
at sun.security.util.DerInputStream.getOID(DerInputStream.java:250)
at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:160)
at sun.security.x509.CertificateAlgorithmId.<init>(CertificateAlgorithmId.java:62)
at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:683)
at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:153)
... 13 more



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
Cause
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.