标签:
cert:
openssl x509 -in aps_development\ \(8\).cer -inform der -out pushDeveCerTopem.pem
key:
openssl pkcs12 -nocerts -out pushDeveP12Topem.pem -in DevelopPushP12.p12
sum:
cat pushDeveCerTopem.pem pushDeveP12Topem.pem > sum.pem
连接APNs:
openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert pushDeveCerTopem.pem -key pushDeveP12Topem.pem
标签:
原文地址:http://www.cnblogs.com/xiaoc1314/p/5694048.html