-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as2-servlet: JCE cannot authenticate the provider BC #49
Comments
Hi. I'm on vacation this week so I only have quick ideas: is BouncyCastle in your classpath? If yes which version? The latest version of BC is 1.60. |
Thanks for the quick reply! I've packaged BouncyCastle version 1.59, as well as 1.60 - same issue occurs with both. Do you have a working example project that contains as2-servlet (i.e. a deployable war)? Thanks! |
What does packaged mean? Maven assembly plugin and BC does not work, because BC is a signed JAR! Also uberjar and all that stuff must be handled with care. A sgandalone example for using as2-servlet is available and will be published after my vacation next week. So stay tuned |
Did the hint on packaging help you? Did this solve your issue? |
Thanks Philip - excluded the bouncy castle dependencies from the war and its working perfectly. |
Great that it works :) |
I'm getting the following error when trying to receive a message using as2-servlet:
ERROR [com.helger.as2lib.processor.receiver.net.AS2ReceiverHandler] (default task-8) Error decrypting [<MY-JUNIT-TEST-CASE-phax-as2-lib-31072018232014+0200-1843@OpenAS2B_OID_OpenAS2A_OID>]: JCE cannot authenticate the provider BC
I've tried a number of options found online without any success. Any ideas on how to resolve this?
Thanks!
Yusuf
The text was updated successfully, but these errors were encountered: