============================================================
博文原创,转载请声明出处
电子咖啡(原id蓝岩)
============================================================
命令如下
openssl x509 -in aps_development.cer -inform DER -out aps_development.pem -outform PEM
openssl pkcs12 -nocerts -out demodev.pem -in demodev.p12
openssl pkcs12 -export -in aps_development.pem -inkey demodev.pem -certfile demodev.certSigningRequest -name "aps_development" -out aps_development.p12
#=================
openssl x509 -in aps_production.cer -inform DER -out aps_production.pem -outform PEM
openssl pkcs12 -export -in aps_production.pem -inkey demodev.pem -certfile demodev.certSigningRequest -name "aps_production" -out aps_production.p12