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
时间: 2024-10-26 19:11:06