APNS notifications not reaching devices registered in Apple MDM

Used by Apple MDM. This is MDM using APN.

  • The mobileconfig theme is the same as the Subject APSP-XXX.pem theme.
  • The character string of the device token and PushMagic reached the MDM server after configuring mobileconfig.

I sent a telegram statement for device tokens using APN. It is replaced by the PushMagic character string. Although {"mdm":"xxxxxxxxxxxxx-xxxx-xxxx-xxxx"} sent through the APN from the MDM server, the iPhone is not available.

Why?

+7
source share
3 answers

Carefully follow MDM_Protocol .

If you use the following link: http://www.softhinker.com/in-the-news/iosmdmvendorcsrsigning Then check out a few things.

remove the passphrase from customerPrivateKey.pem using this command

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

Then merge your APNS certificate (e.g. CustomerCompanyName.pem) downloaded from the https://identity.apple.com/pushcert/ portal using this command

 cat CustomerCompanyName.pem PlainKey.pem > PlainCert.pem 

Now this PlainCert.pem file can be used on your server as an APNS / MDM certificate.

If you still have a problem, enter your device log here.

+2
source

The problem can be caused by two reasons:

  • must be present key and pem.
  • the password used must belong to the password used when creating pem
0
source

I created a python script that signs the part of the provider, so you do not need to use the softhinker Java code.

https://github.com/grinich/mdmvendorsign

0
source

All Articles