码迷,mamicode.com
首页 > 其他好文 > 详细

制做服务器用的推送证书

时间:2014-05-26 07:48:45      阅读:293      评论:0      收藏:0      [点我收藏+]

标签:c   a   com   strong   文件   os   

1 iOS制做服务器的推送证书

   a 请求证书

   b 导出密钥

   c 制做推送ssl certificate

   d 制做服务器用的证书

1Push.certSigningRequest

2Push.p12

3aps_developer_identity.cer

终端

1、将aps_developer_identity.cer转换成aps_developer_identity.pem格式

openssl x509 -in aps_developer_identity.cer -inform DER -out aps_developer_identity.pem

2、将p12格式的私钥转换成pem

openssl pkcs12 -nocerts -out Push_Noenc.pem -in Push.p12  

3、创建p12文件

openssl pkcs12 -export -in aps_developer_identity.pem -inkey Push_Noenc.pem -certfile Push.certSigningRequest -name "aps_developer_identity" -out aps_developer_identity.p12  

测试的服务器地址:telnet   gateway.sandbox.push.apple.com 2195 

产品推送服务器地址:telnet   gateway.push.apple.com 2195

制做服务器用的推送证书,布布扣,bubuko.com

制做服务器用的推送证书

标签:c   a   com   strong   文件   os   

原文地址:http://www.cnblogs.com/gcat/p/3747652.html

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