openssl x509 -in aps_developer_identity.cer -inform der -out PushChatCert.pem //aps_developer_identity.cer开发者证书
openssl pkcs12 -nocerts -out PushChatKey.pem -in Push.p12 //选中push Services证书,右键导出证书为个人信息交换(.p12)格式文件Push.p12
cat PushChatCert.pem PushChatKey.pem > ck.pem //这个就是我们php服务器端要用到的
在php.ini中找到“;extension=php_openssl.dll”,去掉前面的分号