java.lang.AssertionError: Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 666705, 1 year ago
Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
via oracle.com by Unknown author, 2 years ago
Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
java.lang.AssertionError: Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
at weblogic.xml.crypto.utils.CertUtils.getCertificate(CertUtils.java:37)
at weblogic.xml.crypto.dsig.keyinfo.X509DataImpl.readX509Certificate(X509DataImpl.java:187)
at weblogic.xml.crypto.dsig.keyinfo.X509DataImpl.readContentElement(X509DataImpl.java:164)
at weblogic.xml.crypto.dsig.keyinfo.X509DataImpl.read(X509DataImpl.java:91)
at weblogic.xml.crypto.dsig.keyinfo.X509DataImpl.newKeyInfoObject(X509DataImpl.java:224)
at weblogic.xml.crypto.dsig.keyinfo.KeyInfoObjectBase.readKeyInfoObject(KeyInfoObjectBase.java:52)
at weblogic.xml.crypto.dsig.keyinfo.KeyInfoImpl.read(KeyInfoImpl.java:118)
at weblogic.xml.crypto.dsig.XMLSignatureImpl.unmarshal(XMLSignatureImpl.java:294)
at weblogic.xml.crypto.dsig.XMLSignatureImpl.(XMLSignatureImpl.java:93)
at weblogic.xml.crypto.dsig.XMLSignatureFactoryImpl.unmarshalXMLSignature(XMLSignatureFactoryImpl.java:144)
at org.opensaml.SAMLSignedObject.verify(SAMLSignedObject.java:413)
at org.opensaml.SAMLSignedObject.verify(SAMLSignedObject.java:375)
at weblogic.security.providers.saml.SAMLAssert.verifySignature(SAMLAssert.java:724)
at weblogic.security.providers.saml.SAMLAssert.assertToken(SAMLAssert.java:199)
at weblogic.security.providers.saml.SAMLAssert.assertToken(SAMLAssert.java:135)
at weblogic.security.providers.saml.SAMLIdentityAsserterProviderImpl.assertIdentity(SAMLIdentityAsserterProviderImpl.java:270)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
at com.bea.common.security.internal.service.IdentityAssertionTokenServiceImpl.assertIdentity(IdentityAssertionTokenServiceImpl.java:90)
at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
at com.bea.common.security.internal.service.IdentityAssertionServiceImpl.assertIdentity(IdentityAssertionServiceImpl.java:81)
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
at weblogic.security.service.PrincipalAuthenticator.assertIdentity(PrincipalAuthenticator.java:439)
at weblogic.wsee.security.saml.Utils.assertIdentity(Utils.java:243)
at weblogic.wsee.security.saml.SAMLTokenHandler.validateUnmarshalled(SAMLTokenHandler.java:231)
at weblogic.xml.crypto.wss.SecurityImpl.unmarshalAndProcessSecurityToken(SecurityImpl.java:463)
at weblogic.xml.crypto.wss.SecurityImpl.unmarshal(SecurityImpl.java:381)
at weblogic.xml.crypto.wss.SecurityImpl.unmarshal(SecurityImpl.java:327)
at weblogic.xml.crypto.wss.api.WSSecurityFactory.unmarshalAndProcessSecurity(WSSecurityFactory.java:65)
at weblogic.wsee.security.WssServerHandler.processRequest(WssServerHandler.java:35)
at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:72)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.