wechatpay-node-v3-ts
wechatpay-node-v3-ts copied to clipboard
为什么我用微信.p12文件生成的公钥和私钥微信APP下单报错签名错误?
使用的命令生成的公钥和私钥
-
查看所有信息 openssl pkcs12 -info -in cert.p12 -nodes
-
导出证书 openssl pkcs12 -in cert.p12 -out cert.pem -nokeys
-
导出秘钥 openssl pkcs12 -in cert.p12 -out private_key.pem -nodes -nocerts
-
查看证书序列号 openssl x509 -in cert.pem -noout -serial
这个地方会误导新人了,应该是用 "/" 开头才不会报签名错误