
Next, register your app with Apple, enable push notifications, and upload the exported CSR to create a push certificate. Remember the location chosen for the file. This action saves the CSR file in the selected location. Leave CA Email Address blank as it isn't required.Įnter a name for the CSR file in Save As, select the location in Where, and then select Save. Select your User Email Address, enter your Common Name value, make sure that you specify Saved to disk, and then select Continue.

Make sure you have a non-key item, or the Apple Worldwide Developer Relations Certification Authority key is selected, before generating the CSR (Certificate Signing Request). This can be a problem if you're in the Certificates category and Apple Worldwide Developer Relations Certification Authority is not the first item in the list. Your physical device registered in the Apple Portal and associated with your certificate.īe sure to read the Azure Notification Hubs overview if you’re not familiar with the service.īy default, Keychain Access selects the first item in the list.An iPhone or iPad running iOS version 10 or later.A Mac running Xcode, along with a valid developer certificate installed into your Keychain.If you don't have an account, you can create a free trial account in just a couple of minutes. To complete this tutorial, you must have an active Azure account. Configure the notification hub with APNS information.Create a provisioning profile for the app.Request your app for push notifications.Generate the certificate signing request file.Running this tutorial is a prerequisite to the subsequent Objective C and Swift iOS tutorials, and covers the following steps: This tutorial shows you how to set up Azure Notification Hubs and configure credentials to push notifications to an iOS device via the Apple Push Notification service (APNS).
