PayU-EMEA / apple-pay

This library is used to decode tokens for Apple Pay.
48 stars 31 forks source link

PEM/OpenSSL error #2

Closed LeVadim closed 5 years ago

LeVadim commented 5 years ago

Hello!

Would you be able to advise me on this error?

CN = Apple Application Integration CA - G3, OU = Apple Certification Authority, O = Apple Inc., C = US *** error 20 at 1 depth lookup:unable to get loca l issuer certificate"

code: 0

#file: "./vendor/payu/apple-pay/src/ApplePay/Decoding/OpenSSL/OpenSslService.php"
#line: 29
trace: {

Thank you!!!

trydocatch commented 5 years ago

Hi,

Probably one of the certificates used as argument is not what is expected. You could refer to the test OpenSslServiceTest::testValidateCertificateChainSuccess and check what is different in your implementation.