70.net发送apns解决方案(iphone push)
来源:互联网 发布:一淘网首页淘宝网 编辑:程序博客网 时间:2024/06/05 00:47
准备好三个文件 如下图
1、PushChat.certSigningRequest
2、PushChat.p12
3、aps_developer_identity.cer
从客户端得的deviceToken。
发送通知的.net应用程序出来需要知道deviceToken之外,还需要一个与APNS连接的证书。
这个证书可以通过我们前面生成的两个文件中得到。
使用OpenSSL生成.net和APNS通信的证书文件。
1、将aps_developer_identity.cer转换成 aps_developer_identity.pem格式。
openssl x509 -in aps_developer_identity.cer -inform DER -out aps_developer_identity.pem -outform PEM
2、将p12格式的私钥转换成pem,需要设置4次密码,这里密码都设置为:abc123。
openssl pkcs12 -nocerts -out PushChat_Noenc.pem -in PushChat.p12
3、用certificate和the key
openssl pkcs12 -export -in aps_developer_identity.pem -inkey PushChat_Noenc.pem -certfile PushChat.certSigningRequest -name "aps_developer_identity" -out aps_developer_identity.p12
这样我们就得到了在.net应用程序中使用的证书文件:aps_developer_identity.p12。
原文网址http://blog.sina.com.cn/s/blog_4adf31ea010175wo.html
- net发送apns解决方案(iphone push)
- 70.net发送apns解决方案(iphone push)
- iPhone Apple Push Notification Service (APNS)(全教程)
- iPhone Apple Push Notification Service (APNS)(全教程)
- iPhone Apple Push Notification Service (APNS)(全教程)
- iPhone Apple Push Notification Service (APNS)
- iPhone利用apns进行Push消息推送
- python 发送 iOS APNS push 消息
- iPhone消息推送机制(Push)实现及通过.net应用程序发送消息给ios应用程序
- iPhone消息推送机制(Push)实现及通过.net应用程序发送消息给ios应用程序
- iPhone消息推送机制(Push)实现及通过.net应用程序发送消息给ios应用程序
- APNS push 服务器端 SSL3.0 转 TLS (iPhone苹果推送服务)
- APNS push 服务器端 SSL3.0 转 TLS (iPhone苹果推送服务)
- 基于http2的apns的push发送平台(使用go语言写的)
- 编写push notification之服务器端发送通知 java apns
- Apns Push 证书生成
- php apns push备忘
- Push Notification Service (APNs)
- 托福口语分类练习
- 安卓四大组件详解
- 69.iOS Team Provisioning Profile 解释
- ZOJ3891 K-hash 后缀自动机SAM
- Eclipse 插件开发遇到问题心得总结
- 70.net发送apns解决方案(iphone push)
- 谁让App工程师产生了泡沫?
- java死锁样例
- 71.自动检测iOS网络并可跳转至设置界面设置网络
- windows下多个tomcat配置
- Eclipse 插件开发 向导
- 使用blend改变图片颜色
- cocos2dlua-创建一个游戏
- kali linux运行慢的原因