tiamo / phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard.
42 stars 41 forks source link

app.CRITICAL: Signature Verification Failed #35

Closed sanjinhadzic closed 2 years ago

sanjinhadzic commented 2 years ago

Hello,

I get

[2022-01-28 15:24:14] app.CRITICAL: Signature Verification Failed [] []

My installation works with previous partner.

I received the certificate file in binary .cer format and then converted it using openssl to .crt so i can use it with my code ( because my previous partner had that file format and it works).

Any idea how can i fix this ?

Thank you.

robsonala commented 2 years ago

This error is happening because the certificate is not matching the one necessary to validate the message. The possible problems:

https://superuser.com/questions/1660060/extract-rsa-public-key-from-public-certificate

thanks, R.

robsonala commented 2 years ago

@tiamo You can close this one as it is not an issue