电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

net推送证书脚本

net推送证书脚本_第1页
1/18
net推送证书脚本_第2页
2/18
net推送证书脚本_第3页
3/18
下载后可任意编辑.net 推送证书脚本openssl x509 -in aps_developer_identity.cer -inform DER -out aps_developer_identity.pem -outform PEMopenssl pkcs12 -nocerts -out PushChat_Noenc.pem -in PushChatKey.p12openssl pkcs12 -export -in aps_developer_identity.pem -inkey PushChat_Noenc.pem -certfile PushChat.certSigningRequest -name "aps_developer_identity" -out aps_developer_identity.p12--------------------------------------openssl x509 -in aps_production_identity.cer -inform DER -out aps_production_identity.pem -outform PEMopenssl pkcs12 -nocerts -out PushChat_Noenc.pem -in PushChatKey.p12openssl pkcs12 -export -in aps_production_identity.pem -inkey PushChat_Noenc.pem -certfile PushChat.certSigningRequest -name "aps_production_identity" -out aps_production_identity.p12推送证书 for .nethttp://www.xueit.com/webdeveloper/show-10308-1.aspxPush 的原理:Push 的工作机制可以简单的概括为下图 图中,Provider 是指某个 iPhone 软件的 Push 服务器,这篇文章我将使用.net作为 Provider。APNS 是 Apple Push Notification Service(Apple Push 服务器)的缩写,是苹果的服务器。下载后可任意编辑上图可以分为三个阶段。第一阶段:.net 应用程序把要发送的消息、目的 iPhone 的标识打包,发给APNS。第二阶段:APNS 在自身的已注册 Push 服务的 iPhone 列表中,查找有相应标识的 iPhone,并把消息发到 iPhone。第三阶段:iPhone 把发来的消息传递给相应的应用程序, 并且根据设定弹出 Push 通知。 从上图我们可以看到。 1、首先是应用程序注册消息推送。 2、 IOS 跟 APNS Server 要 deviceToken。应用程序接受 deviceToken。下载后可任意编辑 3、应用程序将 deviceToken 发送给 PUSH 服务端程序。 4、 服务端程序向 APNS 服务发送消息。 5、APNS 服务将消息发送给 iPhone 应用程序。 无论是 iPhone 客户端跟 APNS,还是 Provider 和 APNS 都需要通过证书进行连接的。下面我介绍一下几种用到的证书。几种证书:一、*.certSigningRequest 文件 1、生成 Certificate Signing Request (CSR):2、填写你的邮箱和 Common Name,这里填写为 PushChat。选择保存到...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

net推送证书脚本

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部