sun.security.pkcs.ParsingException: Sequence tag error

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 843811, 1 year ago
Sequence tag error
via Oracle Community by 843810, 1 year ago
Sequence tag error
via Oracle Community by 843811, 1 year ago
toDerInputStream rejects tag type -96
via Oracle Community by 843811, 1 year ago
Sequence tag error
sun.security.pkcs.ParsingException: Sequence tag error
at sun.security.util.DerInputStream.getSequence(DerInputStream.java:271)
at sun.security.pkcs.ContentInfo.(ContentInfo.java:115)
at sun.security.pkcs.PKCS7.parse(PKCS7.java:136)
at sun.security.pkcs.PKCS7.parse(PKCS7.java:115)
at sun.security.pkcs.PKCS7.(PKCS7.java:68)
at sun.security.provider.X509Factory.parseX509orPKCS7Cert(X509Factory.java:348)
at sun.security.provider.X509Factory.engineGenerateCertificates(X509Factory.java:240)
at java.security.cert.CertificateFactory.generateCertificates(CertificateFactory.java:511)
at sun.security.tools.KeyTool.installReply(KeyTool.java:1193)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:504)
at sun.security.tools.KeyTool.run(KeyTool.java:124)
at sun.security.tools.KeyTool.main(KeyTool.java:118)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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