当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - APNS MDM Push Notification Topic - Where to find?

问题描述:

I've looked everywhere for the push notification topic to send in my MDM enrollment profile and I've looked in both my developer/distribution key subject information but can't find anything that looks like this:

b503419d-1e2a-a60f-7451-5b8832b5a9cb

What am I missing?

网友答案:

As Michael Gaffney says:

The topic is the value of UID in the subject your APNs certificate. It will begin with com.apple.mgmt.

To obtain it:
  1.Go to https://identity.apple.com/pushcert/ and download the certificate
  2.Get the topic from the certificate using OpenSSL e.g.,
bash-4.2.45$ openssl x509 -noout -in MDM_ \ABC \,LTD_Certificate.pem -subject
Gives this output:
    subject= /UID=com.apple.mgmt.External.9a68c111-109a-9084-a9f7-fffffffffff2/CN=APSP:9a68c111-109a-9084-a9f7-fffffffffff2/C=PE

The notification topic in this case is com.apple.mgmt.External.9a68c111-109a-9084-a9f7-fffffffffff2

网友答案:

The topic is the value of UID in the subject your APNs certificate. It will begin with com.apple.mgmt.

分享给朋友:
您可能感兴趣的文章:
随机阅读: