首页 > 其他 > 详细

制做服务器用的推送证书

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

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

制做服务器用的推送证书

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!