Account Help
Send push notifications from your web server
To send push notifications from your web server to macOS users using APNs, register a website push identifier and create a website push certificate.
For each website, register a website push identifier that verifies that notifications are coming from your server. Then create a website push certificate to sign your notification packages and send notifications to users. Associate the certificate with your website push identifier.
Required role: Account Holder or Admin.
Register a website push identifier
-
In Certificates, Identifiers & Profiles, click Identifiers in the sidebar, then click the add button (+) on the top left.
-
Select Website Push IDs, then click Continue.
-
Enter a description of the website and an identifier, then click Continue.
-
Review the Website Push ID, then click Register.
Create a website push certificate
-
In Certificates, Identifiers & Profiles, click Certificates in the sidebar, then click the add button (+) on the top left.
-
Under Services, select Website Push ID Certificate, then click Continue.
-
If you haven’t already done so, create a website push identifier.
-
Choose a website push identifier from the pop-up menu, then click Continue.
-
Create a certificate signing request on your Mac, then click Continue.
-
Click Choose File.
-
In the dialog that appears, select the certificate request file (a file with a
.certSigningRequest
file extension), then click Choose. -
Click Continue.
-
Click Download.
The certificate file (a file with a
.cer
file extension) appears in yourDownloads
folder.
To learn more about website notifications, visit the Notification Programming Guide for Websites.