malformed content

totalogistix
totalogistix's picture

I get the following with one of my trading partners. I'm guessing bad certificate/wrong certificate and decryption failure. Am i right?

[11:07:42 AM] Welcome, admin
[11:07:42 AM] m-e-c as2 1.0 build 23
[4:11:05 PM] 20080721201105_5D70DF90EE@bTrade: Incoming transmission is a AS2 message, raw message size: 7.00 KB.
[4:11:05 PM] 20080721201105_5D70DF90EE@bTrade: AS2 message is encrypted.
[4:11:06 PM] mec_as2-1216671065951-2@TLXAS2_PARTNER: Outgoing MDN has been signed with the algorithm "SHA1".
[4:11:06 PM] mec_as2-1216671065951-2@TLXAS2_PARTNER: MDN created, state set to [processed/error: decryption-failed].
[4:11:06 PM] 20080721201105_5D70DF90EE@bTrade:
MDN details:
--------------
Malformed content.
--------------
[4:11:06 PM] mec_as2-1216671065951-2@TLXAS2_PARTNER: Synchronous MDN sent as answer to message 20080721201105_5D70DF90EE@bTrade.
[4:12:28 PM] 20080721201227_53E79705D3@bTrade: Incoming transmission is a AS2 message, raw message size: 7.00 KB.
[4:12:28 PM] 20080721201227_53E79705D3@bTrade: AS2 message is encrypted.
[4:12:28 PM] mec_as2-1216671148202-3@TLXAS2_PARTNER: Outgoing MDN has been signed with the algorithm "SHA1".
[4:12:28 PM] mec_as2-1216671148202-3@TLXAS2_PARTNER: MDN created, state set to [processed/error: decryption-failed].
[4:12:28 PM] 20080721201227_53E79705D3@bTrade:
MDN details:
--------------
Malformed content.
--------------
[4:12:28 PM] mec_as2-1216671148202-3@TLXAS2_PARTNER: Synchronous MDN sent as answer to message 20080721201227_53E79705D3@bTrade.
[4:20:30 PM] 20080721202031_90883A3E7C@bTrade: Incoming transmission is a AS2 message, raw message size: 7.00 KB.
[4:20:30 PM] 20080721202031_90883A3E7C@bTrade: AS2 message is encrypted.
[4:20:30 PM] mec_as2-1216671630239-4@TLXAS2_PARTNER: Outgoing MDN has not been signed.
[4:20:30 PM] mec_as2-1216671630239-4@TLXAS2_PARTNER: MDN created, state set to [processed/error: decryption-failed].
[4:20:30 PM] 20080721202031_90883A3E7C@bTrade:
MDN details:
--------------
Malformed content.
--------------
[4:20:30 PM] mec_as2-1216671630239-4@TLXAS2_PARTNER: Synchronous MDN sent as answer to message 20080721202031_90883A3E7C@bTrade.
[4:22:08 PM] Keys and certificates loaded from "/home/administrator/mecas2/certificates.p12".
[4:22:47 PM] 20080721202246_DD4817BFF1@bTrade: Incoming transmission is a AS2 message, raw message size: 7.00 KB.
[4:22:47 PM] 20080721202246_DD4817BFF1@bTrade: AS2 message is encrypted.
[4:22:47 PM] mec_as2-1216671767517-5@TLXAS2_PARTNER: Outgoing MDN has not been signed.
[4:22:47 PM] mec_as2-1216671767517-5@TLXAS2_PARTNER: MDN created, state set to [processed/error: decryption-failed].
[4:22:47 PM] 20080721202246_DD4817BFF1@bTrade:
MDN details:
--------------
Malformed content.
--------------
[4:22:47 PM] mec_as2-1216671767517-5@TLXAS2_PARTNER: Synchronous MDN sent as answer to message 20080721202246_DD4817BFF1@bTrade.

--

http://www.totalogistix.com



heller
heller's picture
.

totalogistix,

There seems to be a problem to encrypt your partners message, are you using the same certificate to decrypt as your partner? Please compare the fingerprint.

Regards
Heller



totalogistix
totalogistix's picture
Problem solved

I think my partner had encryption turned off (perhaps). Not sure how it got fixed, but it works now. Sorry to bother and thanks for the help. I think you can add one more server type to the compatibility list now. I will post in the appropriate forum.

http://www.totalogistix.com

--

http://www.totalogistix.com



heller
heller's picture
totalogistix, unencrypted

totalogistix,

unencrypted message should be no problem. Anyway thank you for the feedback. Im glad it works now.

Regards
Heller




© 1999-2008 mendelson-e-commerce GmbH. All right reserved.