Error processing MDN
Please try to use: http://www.mec-community.com/node/52
Content-Type: application/pkcs7-signature; name=smime.p7s; smime-type=signed-data
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Let me know if you need more information.
Can you send me your test configuration of both instances of m-e-c AS2? I cannot reproduce error that you noticed.
Files that I need:
- databse files: AS2_DB.data AS2_DB.properties
- certificates file: certificates.p12
Please send it (if you can) to: olejnik.mariusz#nospam#(at)gmail.com

I'm using buil 13 and I,ve got the almost the same error, not only with a signed MDN, but with any signed message:
"Error verifying the senders digital signature: invalid signature format in message: + content hash found in signed attributes different."
Can you help?
thanks,
Tiago Costa
This is the HTTP Header from the message received from our trading partner. Can be anything wrong with this? Please help. Thanks.
HTTP Header:
------------
user-agent = Saphety-Harriet
host = b2b.optimus.pt:8080
subject = test2e.txt
ediint-features = multiple-attachments
as2-from = local_profile1
mime-version = 1.0
as2-version = 1.2
date = Mon, 29 Jan 2007 13:35:45 GMT
connection = close
message-id = <11d1def534ea1be0_-3a4580f5_1106d8ad803_-6ed3@11d1def534ea1be0_-3a4580f5_1106d8ad803_-6ed2>
disposition-notification-to = request-mdn@none.org
content-disposition = attachment; filename="smime.p7m"
content-type = application/pkcs7-mime; smime-type=enveloped-data; name="smime.p7m"
content-length = 2576
as2-to = OPTIMUS

Heller,
I think the problem is not the AS2 1.2 header, but it has something to do with the signature, because I have no problem in receiving the same message if it's not signed.
Here is the full raw message. Thanks.
HTTP Header:
------------
as2-to = OPTIMUS
connection = close
subject = test2e.txt
host = b2b.optimus.pt:8080
content-length = 2092
date = Tue, 30 Jan 2007 20:02:20 GMT
as2-version = 1.2
ediint-features = multiple-attachments
user-agent = Saphety-Harriet
message-id = <11d1def534ea1be0_79cc91b5_110747496ec_-7fae@11d1def534ea1be0_79cc91b5_110747496ec_-7fad>
disposition-notification-to = request-mdn@none.org
mime-version = 1.0 (produced by the IP*Works! MIME Component)
as2-from = local_profile1
content-type = multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="boundaryylV1dA=="
HTTP Content:
-----------------
--boundaryylV1dA==
Content-Type: application/edi-x12
Content-Disposition: Attachment; filename="test2e.txt"
Hello World 2
--boundaryylV1dA==
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64
MIIFBQYJKoZIhvcNAQcCoIIE9jCCBPICAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA38w
ggN7MIICY6ADAgECAhEA742sp2a4OZqZ2AkZmW/LJzANBgkqhkiG9w0BAQUFADA0MQswCQYDVQQG
EwJQVDENMAsGA1UEChMEWENPTTEWMBQGA1UEAxMNWENPTSBCdXNpbmVzczAeFw0wNTAzMTUxMzEy
MjVaFw0wNzAxMjkxMzEyMjVaMEoxCzAJBgNVBAYTAlBUMRkwFwYDVQQKExBOb3ZpcyBUZWxlY29t
IFNBMQ0wCwYDVQQLEwRYQ29tMREwDwYDVQQDEwhFSW52b2ljZTCBnzANBgkqhkiG9w0BAQEFAAOB
jQAwgYkCgYEAytVD0g1KW6HHDe/r9nYF/Ic3zFsTAXwc+sD/sWCh1LoNOtlysiyWBgObirytmsrY
C0Vn4Yuy/xEe4hu5c1pgi2NotLm91t+p2TyWR9F7bC3/3pOkWwVu5lC8/6XEJhmTmWQEUBi6kExS
w4kD91UJDd/3m1F4uKdB/UGvypiAILkCAwEAAaOB9TCB8jAfBgNVHSMEGDAWgBRsr11t2F5xkufy
Lm2qilUE3ulBEzAMBgNVHRMBAf8EAjAAMFMGA1UdIARMMEowSAYKKwYBBAH8egFkAzA6MDgGCCsG
AQUFBwIBFixodHRwczovL3d3dy54Y29tLnB0L2RvYy9DUF9YQ09NX0J1c2luZXNzLnBkZjA9BgNV
HR8ENjA0MDKgMKAuhixodHRwOi8vd3d3Lnhjb20ucHQvY3JsL0NSTF9YQ09NX0J1c2luZXNzLmNy
bDAOBgNVHQ8BAf8EBAMCBLAwHQYDVR0OBBYEFJNk5pXv14+go0OOvyIXlLyhqsm1MA0GCSqGSIb3
DQEBBQUAA4IBAQBjwG3sN4RxHvxWT8iLshz+2W+7c2OjxQmPlzyyqk73ResxHbMODWBPZalio9ca
CaVcufUahjtj/Mr2taJ1G+OldSviwPpdChlUD5xzzm4gLKkEOznFFnSPn+ylIQFJF6z0PSGP5Gf7
zyqGY00+oe9tW9BEjxreUs2VHh9xdsoa62yZKK9rzJ7QiESQVyo+z9eTbCNtZWdfcHfiDrsob8P7
UGFISsmdzHdzx/9xEP2C3QYwvz02+9nPfdPMWpEvpvsWoIQfJ452GeHwQ7GU/cy0a76CqVMTo6Uc
Ggkokn1o4yPWfE4be9g+Uy+cNcY1tWImZfPicmA4hDjCvBRIrxIdMYIBTjCCAUoCAQEwSTA0MQsw
CQYDVQQGEwJQVDENMAsGA1UEChMEWENPTTEWMBQGA1UEAxMNWENPTSBCdXNpbmVzcwIRAO+NrKdm
uDmamdgJGZlvyycwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI
hvcNAQkFMQ8XDTA3MDEzMDIwMDIyMFowIwYJKoZIhvcNAQkEMRYEFAGZTzi4G4rrmTbywpcfXOth
QLReMA0GCSqGSIb3DQEBAQUABIGATP4r76XB/u+Q/8GN9yRFDWPVcrSlxj4rKpMaqL9RJiw415ne
l49rsfkG7aNJOXcPh2zazCBsBj1m1hQWcMGA9StdNSEuHWsoRAAXg+p1Big4gECa0Qc4Pt3nHAiO
K0Fs5gkn0cBf83/7oPJqc/j4RjmO4YOpmwU8U3PUlWn7ZSU=
--boundaryylV1dA==--
© 1999-2008 mendelson-e-commerce GmbH. All right reserved.
I am getting the following error while processing the MDN:
--------------
[Oct 2, 2006 4:02:51 PM] null: MDN is not encrypted.
[Oct 2, 2006 4:02:51 PM] null: MDN is signed.
[Oct 2, 2006 4:02:51 PM] null: Using certificate "xxx" to verify signature.
[Oct 2, 2006 4:02:52 PM] Error verifying the senders digital signature: invalid signature format in message: + content hash found in signed attributes different.
I have tried build 9 and build 10 rc1