cer格式证书生成p12文件,前面写了有一篇了。
这里是从p12文件导出公钥和私钥

 

//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
writing RSA key
//3.导出公钥
openssl rsa -in 1.key -pubout -out apple_pay_pub.pem

 

相关文章:

  • 2021-08-24
  • 2021-10-17
  • 2022-12-23
  • 2021-07-23
  • 2021-12-17
  • 2021-07-24
猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案