norfolkmustard / ApplePayJS

Working draft of ApplePayJS with php
GNU General Public License v3.0
144 stars 60 forks source link

Getting an error while converting ApplePay.key.pem to ApplePay.RSA.key.pem #12

Open Kishore-gmp opened 1 year ago

Kishore-gmp commented 1 year ago

4337829420:error:06FFF07F:digital envelope routines:CRYPTO_internal:expecting an rsa key:/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Library/Caches/com.apple.xbs/Sources/libressl/libressl-2.8/crypto/evp/p_lib.c:300:

i have executed these commands

1.openssl pkcs12 -in ApplePayMerchantIdentity_and_privatekey.p12 -out ApplePay.key.pem -nocerts 2.openssl rsa -in ApplePay.key.pem -out ApplePay.RSA.key.pem please help me with this issue