1. 生成1.key文件2. 导出私钥3. 导出公钥 1. 生成1.key文件openssl pkcs12 -in apple_payment.p12 -nocerts -nodes -out 1.key 2. 导出私钥openssl rsa -in 1.key -out apple_pay_pri.pem cat apple_pay_pri.pem 3. 导出公钥openssl rsa -in 1.key -pubout -out apple_pay_pub.pem cat apple_pay_pub.pem