As Michael Guffney says:
The subject is the UID value in the subject of your APN certificate. This will start with com.apple.mgmt.
To get it:
1. Go to https://identity.apple.com/pushcert/ and download the certificate
2. Get the topic from the certificate using OpenSSL, for example,
bash-4.2.45$ openssl x509 -noout -in MDM_ \ABC \,LTD_Certificate.pem -subject
Gives this result:
subject= /UID=com.apple.mgmt.External.9a68c111-109a-9084-a9f7-fffffffffff2/CN=APSP:9a68c111-109a-9084-a9f7-fffffffffff2/C=PE
The notification subject in this case is com.apple.mgmt.External.9a68c111-109a-9084-a9f7-fffffffffff2
source share