sun.security.pkcs.ParsingException: Sequence tag error

ejbca | *anonymous | 1 decade ago
  1. 0

    Following FAQ to import signed cert fails

    ejbca | 1 decade ago | *anonymous
    sun.security.pkcs.ParsingException: Sequence tag error
  2. 0

    Keytool error

    Oracle Community | 1 decade ago | 843811
    sun.security.pkcs.ParsingException: Sequence tag error
  3. 0

    Keytool error

    Oracle Community | 1 decade ago | 843810
    sun.security.pkcs.ParsingException: Sequence tag error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    keytool import fails

    Oracle Community | 1 decade ago | 843811
    sun.security.pkcs.ParsingException: toDerInputStream rejects tag type -96
  6. 0

    Keytool (1.[34].x fails to import CA certificate from Windows2000

    Oracle Community | 1 decade ago | 843811
    sun.security.pkcs.ParsingException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 48)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Sequence tag error

      at sun.security.util.DerInputStream.getSequence()
    2. Java RT
      KeyTool.main
      1. sun.security.util.DerInputStream.getSequence(DerInputStream.java:271)
      2. sun.security.pkcs.ContentInfo.<init>(ContentInfo.java:115)
      3. sun.security.pkcs.PKCS7.parse(PKCS7.java:136)
      4. sun.security.pkcs.PKCS7.parse(PKCS7.java:115)
      5. sun.security.pkcs.PKCS7.<init>(PKCS7.java:68)
      6. sun.security.provider.X509Factory.parseX509orPKCS7Cert(X509Factory.java:348)
      7. sun.security.provider.X509Factory.engineGenerateCertificates(X509Factory.java:240)
      8. java.security.cert.CertificateFactory.generateCertificates(CertificateFactory.java:511)
      9. sun.security.tools.KeyTool.installReply(KeyTool.java:1193)
      10. sun.security.tools.KeyTool.doCommands(KeyTool.java:504)
      11. sun.security.tools.KeyTool.run(KeyTool.java:124)
      12. sun.security.tools.KeyTool.main(KeyTool.java:118)
      12 frames