java.lang.AssertionError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2540

  • Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
  • Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
  • 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.
  • Stack trace

    • 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.<init>(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 $Proxy23.assertIdentity(Unknown Source) 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 $Proxy24.assertIdentity(Unknown Source) 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 $Proxy25.assertIdentity(Unknown Source) 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.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.