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

Tsu*_*oto 7 apple-push-notifications mdm ios

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

  • mobileconfig的主题与APSP-XXX.pem的Subject相同.
  • 设置令牌和PushMagic的字符串在设置mobileconfig后到达MDM服务器.

我使用APN为设备令牌发送了电报的措辞.它正在被PushMagic的字符串替换.虽然{"mdm":"xxxxxxxxxxxxx-xxxx-xxxx-xxxx"}是通过APN从MDM服务器发送的,但是未到达iPhone.

为什么?

Use*_*321 2

非常仔细地遵循MDM_Protocol pdf。

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

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

openssl rsa -in customerPrivateKey.pem -out PlainKey.pem
Run Code Online (Sandbox Code Playgroud)

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

cat CustomerCompanyName.pem PlainKey.pem > PlainCert.pem
Run Code Online (Sandbox Code Playgroud)

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

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