net发送apns解决方案(iphone push)
来源:互联网 发布:java培训机构课程 编辑:程序博客网 时间:2024/05/20 18:52
到现在为止,我们已经生成了3个文件。
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 -outaps_developer_identity.pem -outform PEM
2、将p12格式的私钥转换成pem,需要设置4次密码,这里密码都设置为:abc123。
openssl pkcs12 -nocerts -out PushChat_Noenc.pem -inPushChat.p12
3、用certificate和the key
openssl pkcs12 -export -in aps_developer_identity.pem -inkeyPushChat_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)
- div + css宽度自适应(液态布局)
- MFC下让控件具有XP风格
- java 泛型 ?、T
- 浅析dalvik虚拟机JIT技术的实现
- 添加动态按钮
- net发送apns解决方案(iphone push)
- 企业版IDP的申请及“In House”发布
- 电脑没有声音怎么办
- android中像素单位dp、px、pt、sp的比较
- Java多线程-工具篇-BlockingQueue
- Apache Mina Server 2.0 中文参考手册【笔记】
- android setPadding()跟setMargins()的区别是什么
- CBitmap,HBitmap,Bitmap区别及联系
- 项目启动报错 content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,...)"