1、导出.p12文件
2、执行以下命令
opensslpkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
opensslpkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-key.p12
opensslrsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem
catapns-dev-cert.pem apns-dev-key-noenc.pem > apns-dev.pem
注:不喜勿喷!!!
网友评论