APNS notifications not reaching devices enrolled in Apple MDM

你说的曾经没有我的故事 提交于 2019-11-27 19:12:05

Follow MDM_Protocol pdf very carefully.

If you are following this link: http://www.softhinker.com/in-the-news/iosmdmvendorcsrsigning Then verify few things.

remove the passphrase from customerPrivateKey.pem using this command

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

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

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.

the issue may be because two reasons:

  1. key and pem both should be present.
  2. password used should belong to the password use while creating pem

I made a python script that does the vendor signing part, so you don't have to use the softhinker java code.

https://github.com/grinich/mdmvendorsign

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!