码迷,mamicode.com
首页 > 移动开发 > 详细

iOS 推送证书生成pem

时间:2016-07-22 10:07:43      阅读:226      评论:0      收藏:0      [点我收藏+]

标签:

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

iOS 推送证书生成pem

标签:

原文地址:http://www.cnblogs.com/xiaoc1314/p/5694048.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!