Administrator

Configuring Custom APNS Host and Port

Configure application APNS push to use custom APNS hosts and ports, rather than the default Apple push server. You can, for example, use this as a way to reach the official APNS ports directly from inside your network.

Prerequisites

A reverse proxy must be configured in the network landscape. The reverse proxy exposes the external APNS services with standard host names and ports.

Context

Configure the custom host names and ports in Management Cockpit.

Procedure

  1. In Management Cockpit, select Start of the navigation path Applications Next navigation step  Next navigation step Configure Next navigation step Push End of the navigation path.
  2. Under Apple, select Custom as the APNS Endpoint, and configure custom APNS endpoint values using the host name and port values exposed by the reverse proxy. The entries must conform to the custom guidelines.
    Table 10: Custom APNS

    Setting

    Provide Custom APNS Endpoint Values

    Notification Service Host:

    Notification Service Port:

    Feedback Service Host:

    Feedback Service Port:

    Guidelines for creating a custom APNS:
    • The maximum length of Notification Service Host and Feedback Service Host is 253 characters. Additional characters are truncated.

    • The format of Notification Service Host and Feedback Service Host should follow one of these:
      • The string can only contain alphanumeric, hyphen (-), and dot (.) characters; should start and end with alphanumeric characters; and only alphanumeric characters are allowed before and after the dot. For example: my-server-name01.my-company.com.

      • The string should match the Internet Protocol version 4 (IPv4) format. For example: 192.168.1.100.

    • The Notification Service Port and Feedback Service Port should be between 0 and 65535.

  3. Provide the certificate file and password to use for push notifications.
    1. Click Browse to navigate to the certificate file.
    2. Select the file, and click Open.
    3. Enter a valid password.

Next Steps

With this configuration in place, push notifications can reach the official APNS hosts and ports directly from inside the network.