用openssl工具:
openssl pkcs12 -in KEYSTORE.pfx -out 898000000000002_pri.pem -nodes
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
之间的是私钥
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
之间的是公钥
用openssl工具:
openssl pkcs12 -in KEYSTORE.pfx -out 898000000000002_pri.pem -nodes
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
之间的是私钥
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
之间的是公钥
转载于:https://www.cnblogs.com/crazy29/archive/2013/04/02/2995086.html