norfolkmustard / ApplePayJS

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

Failed to create pem #2

Open zzpaul opened 8 years ago

zzpaul commented 8 years ago

When I run this command and input the password, it said "can't read password"

openssl pkcs12 -in ApplePayMerchantIdentity_and_privatekey.p12 -out ApplePay.crt.pem -clcerts -nokeys

Enter Import Password:
Can't read Password

I'm sure I input my password correctly.

norfolkmustard commented 8 years ago

Tried just hitting return? (no password)

Charles-Garrison commented 7 years ago

This issue is pretty old, but this worked for me and I'm guessing one of the following is occured:

  1. You were not in the same directory as the file "ApplePayMerchantIdentity_and_privatekey.p12"
  2. Your .p12 file had a different name

Charles

sirajka commented 5 years ago

In my case the password was too long :/

Jas1234567 commented 4 years ago

openssl pkcs12 -in Apple Pay Merchant Identity Certificate.p12 -out ApplePay.crt.pem -clcerts -nokeys ApplePay.crt.pem is generated file name? filename name should be the same(ApplePay.crt.pem)?. What is that clcerts -nokeys? Do we have to run this command as it is in the terminal? Not able to create .pem file. In my website applepay button is not showing. Its says 'ApplePay is possible on this bowser, but not currently activated ' how to resolve this?

openssl pkcs12 -in Apple Pay Merchant Identity Certificate.p12 -out ApplePay.crt.pem -clcerts -nokeys When I run this above command its shows following text on terminal Usage: pkcs12 [options] where options are -export output PKCS12 file -chain add certificate chain -inkey file private key if not infile etc....... etc... etc..