norfolkmustard/ApplePayJS

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

Opened this issue · 0 comments

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