abhishek-ram / pyas2

This repo is no longer maintained and has been moved to https://github.com/abhishek-ram/django-pyas2
GNU General Public License v2.0
47 stars 23 forks source link

- #37

Closed rootstat closed 7 years ago

rootstat commented 7 years ago

-

rootstat commented 7 years ago

-

abhishek-ram commented 7 years ago

Hi,

PyAS2 does not support .p7b certificates. Please convert AS2ServerPublicCertificate_Devo_11082017.p7b to PEM format and then try again.

Regards Abhishek Ram

On 11-Aug-2017, at 2:58 PM, rootstat notifications@github.com wrote:

abhishek ram, if you can quickly help on this, unable to get files and its showing following error.

2017-08-11 14:48:58 Begin Processing of received AS2 message 2017-08-11 14:48:58 Message is for Organization "STGATAS2" from partner "ATDEVO" 2017-08-11 14:48:58 Decrypting the payload using private key stag_private.pem 2017-08-11 14:48:58 Message is signed, Verifying it using public key AS2ServerPublicCertificate_Devo_11082017.p7b 2017-08-11 14:48:58 An error occurred during the AS2 message processing: Signature Verification Failed, exception message is 140069133883136:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: CERTIFICATE 2017-08-11 14:48:58 Building the MDN response to the request 2017-08-11 14:48:58 Signing the MDN using private key stag_private.pem 2017-08-11 14:48:58 MDN created successfully and sent to partner — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abhishek-ram/pyas2/issues/37#issuecomment-321767791, or mute the thread https://github.com/notifications/unsubscribe-auth/AGulgD-A1P8jobo8DZyUbcvXpCgDy6oMks5sXB6rgaJpZM4O0bAX.

rootstat commented 7 years ago

Removed

abhishek-ram commented 7 years ago

This seems to be a different error, what happened please explain.

On 11-Aug-2017, at 4:05 PM, rootstat notifications@github.com wrote:

On the receiver/partner side, its failing.. where i see all green on my end.

Reporting-UA: Amazon AS2 Server 1.0

Original-Recipient: rfc822; "STGATAS2"

Final-Recipient: rfc822; "STGATAS2"

Original-Message-ID: 20170811100149.24698.39233@sas2.XXXXXXX.in mailto:20170811100149.24698.39233@sas2.XXXXXXX.in Disposition: automatic-action/MDN-sent-automatically; processed/error: authentication-failed. Unable to verify signature.

Message: AS2 Message [20170811100149.24698.39233@sas2.aXXXXXX.in mailto:20170811100149.24698.39233@sas2.aXXXXXX.in, From: STGATAS2, To: ATDEVO Subject: EDI Message AT Stage pyas2]

Endpoint: ME2K0C3JS9MMTB, EndpointName: XXXXXXXX_Devo_Outbound, AWS Account Id: ACCT2RH38UEV8IMF

The exception is:

Unable to verify body part: NotAfter: Mon Jun 06 06:32:26 PDT 2016

------=_Part_2324908_1158489072.1502445710812--

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/abhishek-ram/pyas2/issues/37#issuecomment-321780206, or mute the thread https://github.com/notifications/unsubscribe-auth/AGulgLNph27qLV9q_ePjJdZfjuHdovazks5sXC5VgaJpZM4O0bAX.

rootstat commented 7 years ago

removed

abhishek-ram commented 7 years ago

what happened to the error that you showed me?

On 11-Aug-2017, at 4:10 PM, rootstat notifications@github.com wrote:

on the receiver side, they are getting precise this error

Disposition: automatic-action/MDN-sent-automatically; processed/error: authentication-failed. Unable to verify signature.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/abhishek-ram/pyas2/issues/37#issuecomment-321781137, or mute the thread https://github.com/notifications/unsubscribe-auth/AGulgMRmFGGVYygYzyCQZnXl9C3GLCmgks5sXC-4gaJpZM4O0bAX.

rootstat commented 7 years ago

i moved the cert from .p7b to cert.. Now my inbound started showing all green. but receiver side they not getting "protocol delivery failure" as a failure.

rootstat commented 7 years ago

until they receive "protocol delivered" message.. its would not be counted as success.

abhishek-ram commented 7 years ago

Well I cannot help with this error as it works with most AS2 clients I have tested against. Unless you can get detailed logs from them, then I can check it.

On 11-Aug-2017, at 4:15 PM, rootstat notifications@github.com wrote:

until they receive "protocol delivered" message.. its would not be counted as success.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/abhishek-ram/pyas2/issues/37#issuecomment-321781861, or mute the thread https://github.com/notifications/unsubscribe-auth/AGulgPLRHQ-SZcC-1c_Grb9TOb1B7avpks5sXDDegaJpZM4O0bAX.

rootstat commented 7 years ago

Removed