APNS 通知未到达注册 Apple MDM 的设备 [英] APNS notifications not reaching devices enrolled in Apple MDM
问题描述
使用 Apple MDM.它是使用 APNs 的 MDM.
Apple MDM is used. It is MDM using APNs.
- mobileconfig的topic和APSP-XXX.pem的Subject一样.
- 设备令牌和PushMagic的字符串在mobileconfig设置后到达MDM服务器.
我使用 APN 为设备令牌发送了电报的措辞.它正在替换为 PushMagic 的字符串.尽管 {"mdm":"xxxxxxxxxxxxx-xxxx-xxxx-xxxx"}
是通过 APNs 从 MDM 服务器发送的,但无法到达 iPhone.
I sent wording of a telegram for device tokens using APNs.
It is replacing by the character string of PushMagic.
Although {"mdm":"xxxxxxxxxxxxx-xxxx-xxxx-xxxx"}
is sent via APNs from the MDM server, iPhone is not reached.
为什么会这样?
推荐答案
关注MDM_Protocol 非常仔细地阅读 pdf.
Follow MDM_Protocol pdf very carefully.
如果您正在访问此链接:http://www.softhinker.com/in-the-news/iosmdmvendorcsrsigning然后验证一些事情.
If you are following this link: http://www.softhinker.com/in-the-news/iosmdmvendorcsrsigning Then verify few things.
使用此命令从 customerPrivateKey.pem 中删除密码
remove the passphrase from customerPrivateKey.pem using this command
openssl rsa -in customerPrivateKey.pem -out PlainKey.pem
然后合并您从门户网站下载的 APNS 证书(例如 CustomerCompanyName.pem)https://identity.apple.com/pushcert/ 使用这个命令
Then merge your APNS certificate (for example CustomerCompanyName.pem) downloaded from the portal https://identity.apple.com/pushcert/ using this command
cat CustomerCompanyName.pem PlainKey.pem > PlainCert.pem
现在这个 PlainCert.pem 文件可以在您的服务器中用作 APNS/MDM 证书.
Now this PlainCert.pem file can be used in your server as APNS/MDM certificate.
如果仍有问题,请在此处显示您的设备日志.
If still there is issue,please show here your device log.
这篇关于APNS 通知未到达注册 Apple MDM 的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!