# Apple Push Notification

# Migrating an APNS certificate from one Apple ID to another Apple ID

As part of a recent change, I needed to migrate an [APNS certificate](https://developer.apple.com/documentation/devicemanagement/implementing_device_management/setting_up_push_notifications_for_your_mdm_customers) from being associated with one Apple ID to now being associated with another Apple ID. Apple has a KBase article available which provides contact information for this, which is available via the link below:

[https://support.apple.com/HT208643](https://support.apple.com/HT208643)

For those folks with AppleCare support plans, you can also submit a ticket to AppleCare. That’s the route I took. Regardless of which support avenue you pursue, Apple will request the following information from you.

- APNS Certificate Subject DN
- APNS Certificate CN
- APNS Certificate Serial Number
- APNS Certificate Expiration Date
- The Apple ID you want to migrate from
- The Apple ID you want to migrate to

For more information, please see below the jump:

<span id="bkmrk--1"></span>

You can obtain the following information from the [Apple Push Certificates Portal](https://identity.apple.com/pushcert):

- APNS Certificate Subject DN
- APNS Certificate CN
- APNS Certificate Serial Number
- APNS Certificate Expiration Date

To see how to do this, please use the following procedure:

1\. Log into the [Apple Push Certificates Portal](https://identity.apple.com/pushcert) using the Apple ID you want to migrate from.

![Screenshot 2023 04 11 at 3 48 59 PM](https://derflounder.wordpress.com/wp-content/uploads/2023/04/screenshot-2023-04-11-at-3.48.59-pm.png?w=595 "Screenshot 2023-04-11 at 3.48.59 PM.png")

2\. Make a note of the current certificate’s expiration date.

![Screenshot 2023 04 11 at 3 49 59 PM](https://derflounder.wordpress.com/wp-content/uploads/2023/04/screenshot-2023-04-11-at-3.49.59-pm.png?w=595 "Screenshot 2023-04-11 at 3.49.59 PM.png")

3\. Click the **( i )** button to display the certificate information.

![Screenshot 2023 04 11 at 3 50 22 PM](https://derflounder.wordpress.com/wp-content/uploads/2023/04/screenshot-2023-04-11-at-3.50.22-pm.png?w=595 "Screenshot 2023-04-11 at 3.50.22 PM.png")

4\. Make a note of the APNS certificate’s serial number.

![Screenshot 2023 04 11 at 3 50 23 PM](https://derflounder.wordpress.com/wp-content/uploads/2023/04/screenshot-2023-04-11-at-3.50.23-pm.png?w=595 "Screenshot 2023-04-11 at 3.50.23 PM.png")

5\. Make a note of the APNS certificate’s Certificate Subject DN.

**Note:** Even though it may be displayed in the Portal site as being multiple lines, the Certificate Subject DN should be a one-line entry when you send it to Apple.

![Screenshot 2023 04 11 at 3 50 24 PM](https://derflounder.wordpress.com/wp-content/uploads/2023/04/screenshot-2023-04-11-at-3.50.24-pm.png?w=595 "Screenshot 2023-04-11 at 3.50.24 PM.png")

6\. Make a note of the APNS certificate’s CN.

**Note:** The CN is included as part of the Certificate Subject DN information. It will be a string with information similar to this:

<div class="gist" id="bkmrk-cn%3Dapsp%3A0e77f39b-e9c"><div class="gist-file" data-color-mode="light" data-light-theme="light" translate="no"><div class="gist-data"><div class="js-gist-file-update-container js-task-list-container"><div class="file my-2"><div aria-label="gistfile1.txt content, created by rtrouton on 08:49PM on April 11, 2023." class="Box-body p-0 blob-wrapper data type-text  " itemprop="text" role="region" tabindex="0"><div class="js-check-hidden-unicode js-blob-code-container blob-code-content"><table class="highlight tab-size js-file-line-container" data-hpc="" data-paste-markdown-skip="" data-tab-size="4" data-tagsearch-path="gistfile1.txt"><tbody><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-cn%3Dapsp%3A0e77f39b-e9c-1">CN=APSP:0e77f39b-e9c8-42f9-8e8b-b5508c4abe95</td></tr></tbody></table>

</div></div></div></div></div></div></div><div class="gist" id="bkmrk-view-rawgistfile1.tx"><div class="gist-file" data-color-mode="light" data-light-theme="light" translate="no"><div class="gist-data"><div class="js-gist-file-update-container js-task-list-container"><div class="file my-2" id="bkmrk--8"></div></div></div><div class="gist-meta">[view raw](https://gist.github.com/rtrouton/891a8a46436461c7ca5ba640e0f13ba8/raw/0ef274f4a591d49664f00699a5de2e9bb5af16c9/gistfile1.txt)  
[  
gistfile1.txt  ](https://gist.github.com/rtrouton/891a8a46436461c7ca5ba640e0f13ba8#file-gistfile1-txt)  
hosted with by [GitHub](https://github.com/)</div></div></div>![Screenshot 2023 04 11 at 3 50 25 PM](https://derflounder.wordpress.com/wp-content/uploads/2023/04/screenshot-2023-04-11-at-3.50.25-pm.png?w=595 "Screenshot 2023-04-11 at 3.50.25 PM.png")

For example, if you have an APNS certificate with the following information:

<div class="gist" id="bkmrk-apns-certificate-sub-2"><div class="gist-file" data-color-mode="light" data-light-theme="light" translate="no"><div class="gist-data"><div class="js-gist-file-update-container js-task-list-container"><div class="file my-2"><div aria-label="gistfile1.txt content, created by rtrouton on 08:49PM on April 11, 2023." class="Box-body p-0 blob-wrapper data type-text  " itemprop="text" role="region" tabindex="0"><div class="js-check-hidden-unicode js-blob-code-container blob-code-content"><table class="highlight tab-size js-file-line-container" data-hpc="" data-paste-markdown-skip="" data-tab-size="4" data-tagsearch-path="gistfile1.txt"><tbody><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-apns-certificate-sub-3">APNS Certificate Subject DN: C=US, CN=APSP:dc1a3263-443c-4779-a3c3-18c95dd11264, UID=com.apple.mgmt.External.dc1a3263-443c-4779-a3c3-18c95dd11264</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-apns-certificate-ser">APNS Certificate Serial Number: 3bb763753df5d8dd</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-apns-certificate-exp">APNS Certificate Expiration Date: January 4, 2024</td></tr></tbody></table>

</div></div></div></div></div></div></div><div class="gist" id="bkmrk--11"><div class="gist-file" data-color-mode="light" data-light-theme="light" translate="no"></div></div>You would convert that to the following information for Apple:

<div class="gist" id="bkmrk-serial-number%3A-3bb76"><div class="gist-file" data-color-mode="light" data-light-theme="light" translate="no"><div class="gist-data"><div class="js-gist-file-update-container js-task-list-container"><div class="file my-2"><div aria-label="gistfile1.txt content, created by rtrouton on 08:48PM on April 11, 2023." class="Box-body p-0 blob-wrapper data type-text  " itemprop="text" role="region" tabindex="0"><div class="js-check-hidden-unicode js-blob-code-container blob-code-content"><table class="highlight tab-size js-file-line-container" data-hpc="" data-paste-markdown-skip="" data-tab-size="4" data-tagsearch-path="gistfile1.txt"><tbody><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-serial-number%3A-3bb76-1">Serial Number: 3bb763753df5d8dd</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-subject-cn%3A-cn%3Dapsp%3A">Subject CN: CN=APSP:dc1a3263-443c-4779-a3c3-18c95dd11264</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-subject-dn%3A-c%3Dus%2C-cn">Subject DN: C=US, CN=APSP:dc1a3263-443c-4779-a3c3-18c95dd11264, UID=com.apple.mgmt.External.dc1a3263-443c-4779-a3c3-18c95dd11264</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-expiration-date%3A-jan">Expiration Date: January 4, 2024</td></tr></tbody></table>

</div></div></div></div></div></div></div><div class="gist" id="bkmrk-view-rawgistfile1.tx-1"><div class="gist-file" data-color-mode="light" data-light-theme="light" translate="no"><div class="gist-data"><div class="js-gist-file-update-container js-task-list-container"><div class="file my-2" id="bkmrk--13"></div></div></div><div class="gist-meta">[view raw](https://gist.github.com/rtrouton/94639246a6f0955975099655258cd666/raw/b6979fd5c2c3e90d46a6a27ec923cf6e56dae165/gistfile1.txt)  
[  
gistfile1.txt  ](https://gist.github.com/rtrouton/94639246a6f0955975099655258cd666#file-gistfile1-txt)  
hosted with by [GitHub](https://github.com/)</div></div></div>The last part is identifying the Apple ID you want to migrate from, and the Apple ID you want to migrate to. For example, if you want to migrate an APNS certificate with the information listed above from an Apple ID of **oldappleid@company.com** to an Apple ID of **newappleid@company.com**, you could send in the following request via email:

<div class="gist" id="bkmrk-email-subject%3A-%5Bappl"><div class="gist-file" data-color-mode="light" data-light-theme="light" translate="no"><div class="gist-data"><div class="js-gist-file-update-container js-task-list-container"><div class="file my-2"><div aria-label="gistfile1.txt content, created by rtrouton on 08:48PM on April 11, 2023." class="Box-body p-0 blob-wrapper data type-text  " itemprop="text" role="region" tabindex="0"><div class="js-check-hidden-unicode js-blob-code-container blob-code-content"><table class="highlight tab-size js-file-line-container" data-hpc="" data-paste-markdown-skip="" data-tab-size="4" data-tagsearch-path="gistfile1.txt"><tbody><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-email-subject%3A-%5Bappl-1">Email subject: \[Apple Push Notification Service\] Transferring APNS certificate with serial number 3bb763753df5d8dd from one Apple ID to another Apple ID</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk--15"></td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-email-body%3A">Email body:</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk--16"></td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-i-need-to-transfer-t">I need to transfer the following APNS certificate from one Apple ID to another Apple ID:</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk--17"></td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-serial-number%3A-3bb76-2">Serial Number: 3bb763753df5d8dd</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-subject-cn%3A-cn%3Dapsp%3A-1">Subject CN: CN=APSP:dc1a3263-443c-4779-a3c3-18c95dd11264</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-subject-dn%3A-c%3Dus%2C-cn-1">Subject DN: C=US, CN=APSP:dc1a3263-443c-4779-a3c3-18c95dd11264, UID=com.apple.mgmt.External.dc1a3263-443c-4779-a3c3-18c95dd11264</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-expiration-date%3A-jan-1">Expiration Date: January 4, 2024</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk--18"></td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-current-apple-id%3A-ol">Current Apple ID: oldappleid@company.com</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-new-apple-id%3A-newapp">New Apple ID: newappleid@company.com</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk--19"></td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-please-let-me-know-i">Please let me know if you need any additional information.</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk--20"></td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-thanks%2C">Thanks,</td></tr><tr><td class="blob-code blob-code-inner js-file-line" id="bkmrk-your-name-goes-here">Your Name Goes Here</td></tr></tbody></table>

</div></div></div></div></div></div></div><div class="gist" id="bkmrk-view-rawgistfile1.tx-2"><div class="gist-file" data-color-mode="light" data-light-theme="light" translate="no"><div class="gist-data"><div class="js-gist-file-update-container js-task-list-container"><div class="file my-2" id="bkmrk--21"></div></div></div><div class="gist-meta">[view raw](https://gist.github.com/rtrouton/32df87eb9503c6f416ad7875ab10a1eb/raw/e57d9dbd94e3426b570fa9b93ca9a8b5190c098b/gistfile1.txt)  
[  
gistfile1.txt  ](https://gist.github.com/rtrouton/32df87eb9503c6f416ad7875ab10a1eb#file-gistfile1-txt)  
hosted with by [GitHub](https://github.com/)</div></div></div>That should provide all the information Apple should need for a successful migration of an APNS certificate.