org.openas2.WrappedException: java.lang.IllegalArgumentException: Private key must be accompanied by certificate chain

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 openas2 by jayw7
, 1 year ago
java.lang.IllegalArgumentException: Private key must be accompanied by certificate chain
via sourceforge.net by Unknown author, 2 years ago
java.lang.IllegalArgumentException: Private key must be accompanied by certificate chain
via openas2 by matthewdenison
, 1 year ago
java.lang.IllegalArgumentException: Private key mu st be accompanied by certificate chain
org.openas2.WrappedException: java.lang.IllegalArgumentException: Private key must be accompanied by certificate chain
at org.openas2.cert.PKCS12CertificateFactory.addPrivateKey(PKCS12CertificateFactory.java:210)
at org.openas2.app.cert.ImportCertCommand.importPrivateKey(ImportCertCommand.java:99)
at org.openas2.app.cert.ImportCertCommand.execute(ImportCertCommand.java:53)
at org.openas2.app.cert.AliasedCertCommand.execute(AliasedCertCommand.java:15)
at org.openas2.app.MultiCommand.execute(MultiCommand.java:75)
at org.openas2.app.StreamCommandProcessor.processCommand(StreamCommandProcessor.java:59)
at org.openas2.app.OpenAS2Server.start(OpenAS2Server.java:60)
at org.openas2.app.OpenAS2Server.main(OpenAS2Server.java:17)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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