org.openas2.WrappedException

java.security.cert.CertificateException: Unable to initialize, java.io.IOException: extra data given to DerValue constructor

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web47

  • via openas2 by emberson
    ,
  • Stack trace

    • org.openas2.WrappedException: java.security.cert.CertificateException: Unable to initialize, java.io.IOException: extra data given to DerValue constructor at org.openas2.app.cert.ImportCertCommand.execute(ImportCertCommand.java:59) at org.openas2.app.cert.AliasedCertCommand.execute(AliasedCertCommand.java:16) at org.openas2.app.MultiCommand.execute(MultiCommand.java:76) at org.openas2.app.StreamCommandProcessor.processCommand(StreamCommandProcessor.java:65) at org.openas2.app.OpenAS2Server.start(OpenAS2Server.java:60) at org.openas2.app.OpenAS2Server.main(OpenAS2Server.java:17) Caused by: java.security.cert.CertificateException: Unable to initialize, java.io.IOException: extra data given to DerValue constructor at sun.security.x509.X509CertImpl.<init>(Unknown Source) at sun.security.provider.X509Factory.engineGenerateCertificate(Unknown Source) at java.security.cert.CertificateFactory.generateCertificate(Unknown Source) at org.openas2.app.cert.ImportCertCommand.importCert(ImportCertCommand.java:75) at org.openas2.app.cert.ImportCertCommand.execute(ImportCertCommand.java:56) ... 5 more Caused by: java.io.IOException: extra data given to DerValue constructor at sun.security.util.DerValue.init(Unknown Source) at sun.security.util.DerValue.<init>(Unknown Source) ... 10 more

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    7 more bugmates