---
title: "How to Enable iOS Mail Push Notifications in WHM"
description: "In This Tutorial: Requirements Generate APNs Key Install APNs Key If you have already created an email address for your domain, you can also configure WHM to enable email Push notifications for your..."
url: https://www.inmotionhosting.com/support/email/how-to-enable-ios-mail-push-notifications-in-whm/
date: 2018-01-17
modified: 2021-11-19
author: "InMotion Hosting Contributor"
categories: ["Email", "iPhone", "WebHost Manager (WHM)"]
type: post
lang: en
---

# How to Enable iOS Mail Push Notifications in WHM

## In This Tutorial:

[Requirements](#requirements) [Generate APNs Key](#generate-key) [Install APNs Key](#install-key)

If you have already [created an email address for your domain](/support/email/how-to-create-an-email-account/), you can also configure WHM to enable email *Push* notifications for your **iOS** device(s). *Push* notifications are sent to the iOS device (that has a [Mail account configured to send/receive emails](/support/email/iphone/add-mail-account-ios)) once the server receives an email. This eliminates the need to *Fetch*, or manually check, for new emails.

Apple requires that an *Apple Push Notifications service (APNs) key* be installed on your server (via WHM) to allow *Push* notifications to be configured in your **iOS** device’s *Settings*. In this guide, you will learn the instructions to **create and install the APNs key** for **Push notifications** to be sent to your **iOS** device(s).

## Requirements

**NOTE: **The list below consists of the requirements for following this guide.

- A [VPS](https://www.inmotionhosting.com/vps-hosting) or [Dedicated Server](https://www.inmotionhosting.com/dedicated-servers) with [root access](/support/amp/obtain-root-access/).
- Your server’s firewall must be configured to *allow TCP connections through port 2195*. You may refer to the instructions in our guides for [CSF](/support/security/install-csf/#additional-settings) or [APF](/support/security/allow-ports-apf/), depending on which firewall you are using, to open **port 2195**.
- A [MacOS Server](https://www.apple.com/macos/server/), available exclusively for **MacOS** from [Apple’s App Store](https://itunes.apple.com/us/app/macos-server/id883878097?mt=12), is required to create the *APNs key* needed for WHM. You can use [these instructions to purchase, download, and install MacOS Server](https://help.apple.com/serverapp/mac/5.4/#/apdBD193671-D5A6-4183-A888-11A4358321DD).

## Generate APNs Certificate

1. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_server-spotlight-search-results-1024x647.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_server-spotlight-search-results.png) Open the MacOS Server App by pressing the *Command* and *Space bar* keys at the same time, then type *server* and double click on the icon.
2. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_macos-server-choose-mac-continue-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_macos-server-choose-mac-continue-button.png) Select **This Mac** from the *Choose A Mac* menu and then click **Continue**.
3. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_macos-terms-of-service-agree-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_macos-terms-of-service-agree-button.png) Read through the terms of service and then click the **Agree** button to proceed.
4. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_macos-setup-allow-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_macos-setup-allow-button.png) Enter your Mac’s administrator *User Name* and *Password*. Then, click **Allow**.
5. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_server-settings-tab.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_server-settings-tab.png) Once the Server App completes setting up the server on your Mac, click on the **Settings** tab.
6. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_server-settings-apple-push-notifications-check-box.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_server-settings-apple-push-notifications-check-box.png) Click to check the **Apple Push Notifications (APN)** check box, next to *Notifications*.
7. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_apns-get-certificate-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_apns-get-certificate-button.png) Enter your AppleID and Password then click **Get Certificate**.
8. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_keychain-access-spotlight-search-results.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_keychain-access-spotlight-search-results.png) Open *Keychain Access* by pressing the *Command* and *Space bar* keys at the same time, then type *Keychain Access* and double click on the icon.
9. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_keychain-select-system.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_keychain-select-system.png) Click to select the **System** keychain from under the *Keychains* list, to the left.
10. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_category-select-keys.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_category-select-keys.png) Click to select **Keys** from under the *Category* list, to the left.
11. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_select-export-com.apple_.servermgrd.apns_.mail-key.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_select-export-com.apple_.servermgrd.apns_.mail-key.png) Right-click on **com.apple.servermgrd.apns.mail** key and click to select **Export “com.apple.servermgrd.apns.mail”…**
12. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_export-save-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_export-save-button.png) Enter a name for the file, select a destination on your computer, and click **Save** to export the Key to a location you can easily retrieve.
13. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_push-key-export-allow-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_push-key-export-allow-button.png) Enter your Mac’s Administrator password to authorize the export, then click **OK**.
14. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_password-save-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_password-save-button.png) Additionally, you will be prompted to password protect the file. Simply enter the desired password and confirm it by entering it in the next field.
15. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_export-key-allow-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_export-key-allow-button.png) Enter your Mac’s Administrator password to authorize the export, then click **Allow**.

Now that you have created the necessary Key file, you can proceed to the next section to follow the instructions to install the APNs key in WHM.

## Install APNs Key in WHM

1. Log into [WHM](/support/edu/whm/log-into-whm/), as root.
2. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_whm-manage-service-ssl-search.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_whm-manage-service-ssl-search.png) In the search field, to the left, type *manage service* and click on the **Manage Service SSL Certificates** option.
3. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_ios-mail-push-notifications-apns-tab.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_ios-mail-push-notifications-apns-tab.png) Click on the **iOS Mail Push Notifications (APNs)** tab.
4. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_choose-a-pkcs-12-archive-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_choose-a-pkcs-12-archive-button.png) Click on the **Choose a PKCS #12 Archive** button.
5. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_choose-key-file-choose-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_choose-key-file-choose-button.png) Select your Key file and then click the **Choose** button.
6. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_key-password-field.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_key-password-field.png) You will be prompted to enter the password (set during the export process) to unlock the Key file. Enter the password and the Key should be revealed automatically.
7. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_apns-key-install-button.png)](/support/wp-content/uploads/2018/01/ios-11_enable-ios-mail-push-notifications-in-whm_apns-key-install-button.png) Click the **Install** button.

Congratulations! Now that you have generated and installed the required APNs key, you can follow along in our guide to [enable Push notifications on your iOS device(s)](/support/email/iphone/enable-push-notifications-on-ios-devices)
