gpt4 book ai didi

ios - APNS 通知未到达在 Apple MDM 中注册的设备

转载 作者:可可西里 更新时间:2023-11-01 03:33:57 24 4
gpt4 key购买 nike

使用 Apple MDM。它是使用 APN 的 MDM。

  • mobileconfig的topic和APSP-XXX.pem的Subject一样。
  • 设备 token 的字符串和PushMagic在设置mobileconfig后到达MDM服务器。

我使用 APN 为设备 token 发送了电报的措辞。它被PushMagic 的字符串替换。尽管 {"mdm":"xxxxxxxxxxxxx-xxxx-xxxx-xxxx"} 是通过 APNs 从 MDM 服务器发送的,但无法访问 iPhone。

这是为什么?

最佳答案

关注MDM_Protocol pdf 非常仔细。

如果您正在访问此链接:http://www.softhinker.com/in-the-news/iosmdmvendorcsrsigning然后验证一些事情。

使用此命令从 customerPrivateKey.pem 中删除密码

openssl rsa -in customerPrivateKey.pem -out PlainKey.pem

然后合并从门户下载的 APNS 证书(例如 CustomerCompanyName.pem)https://identity.apple.com/pushcert/使用这个命令

cat CustomerCompanyName.pem PlainKey.pem > PlainCert.pem

现在这个 PlainCert.pem 文件可以在您的服务器中用作 APNS/MDM 证书。

如果仍有问题,请在此处显示您的设备日志。

关于ios - APNS 通知未到达在 Apple MDM 中注册的设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10571190/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com