After reading the blogs and helpful threads, I have run AS2 demo successfully with mendelson .
But I still have problem to receice AS2 from WalMart.
find error in b2bic log:
AS2_VERSION: 1.1; MESSAGE_ID: <20141226041451A0B7256E@146907777000001>; AS2_TO: CC_AS2_SENDER_WALMART; AS2_FROM: 146907777000001; FROM: GVBe2Bzy; SUBJECT: EDIINTDATA; CONTENT_TYPE: application/pkcs7-mime; smime-type=enveloped-data; name="smime.p7m"; CONTENT_LENGTH:1351 |
Cannot decrypt message |
Error occured while decrypting the AS2-message: Cannot decrypt message: org.bouncycastle.cms.CMSException: key invalid in message. |
I did some search, somy says it is JCE problem?
but my demo scenario use 1024bits, it works fine.
or algorithm 3DES to DES, PI does not support 3DES? I use DES in my demo too.