Natively Docs
Join our community 🔥
  • 👩‍🚀Getting Started
    • What is Natively?
    • Why Natively?
    • FAQ
    • Create Your First App
  • 🚀Natively Platform
    • 🚉Releases
    • 🖌️Appearance
      • 😼App Icon
      • 📱Loading Screen
      • 📱Error Screen
      • 🎨Style
    • 🎬Preview
    • ⭐Features
      • 🛳️Bottom Bar
      • 🚇Deeplinks
        • 🔥Firebase
        • 🔗Universal Links
        • 🌱Branch.io
      • 📍Geolocation
      • 🔔Notifications
        • 📲OneSignal Notifications
        • 🔥Firebase Notifications (Advanced)
      • 📒Contacts
      • 👩‍🎨Social Auth
        • 🍏Sign In with Apple
      • 💟HealthKit
      • 💰Purchases
      • 🤑Admob
      • 💳NFC
      • 📷Camera
      • 📂Photo Library
      • 🎤Microphone
      • 📈Analytics
        • 🕊️AppsFlyer
        • 😛Facebook
    • 🚚Publish
      • 🍏iOS App
      • 🤖Android App
    • ⚙️Settings
    • 🙈Subscription Plans
  • Guides
    • 🧋Integration (Native Features)
      • 🏅How to get started?
      • ℹ️Device
      • ℹ️Browser Info
      • 🛳️Bottom Bar
      • ✂️Clipboard
      • 🚦Push Notifications - OneSignal
      • 🚦Push Notifications - Firebase (Advanced)
      • 📍Geolocation
      • 📦App Storage
      • 🗝️Biometrics & Credentials
      • 📧Native SMS/Email
      • 📅Native Date Picker
      • 📸Native Camera
      • 🎙️Native Audio Recorder
      • 🈁Native Scanner (QR/Barcode)
      • 📔Contacts
      • 🍏Apple Sign In
      • ❤️HealthKit
      • 💸In-App Purchases
      • 🤑Admob
      • 💳NFC
      • 🥑Show Toast/Banner
      • ⏳Show/Hide Loading Screen
      • 🥑Haptic Feedback
      • 🖼️Share Media/Files
      • 📱Open an external App/URL
      • ✍️Request User's review
      • ↔️getInsets
      • 🎨Control Style & Colors
    • 🔍Troubleshooting
    • 🐈Setup RevenueCat App
    • 🚑Setup Admob App
    • 🚥Setup One Signal App
    • 🧑‍🤝‍🧑Setup website Universal Links (Deeplinks)
    • 🍕Testing & Submitting your app
    • 🔑Generate iOS Push Key (NEW)
    • 🔑Generate iOS Push Certificate (Legacy)
    • 🤝Affiliate program
    • 📕For Partners: Natively Brand Book.
Powered by GitBook
On this page
  • Prerequisities
  • Mac OS
  • Windows & Linux

Was this helpful?

  1. Guides

Generate iOS Push Certificate (Legacy)

PreviousGenerate iOS Push Key (NEW)NextAffiliate program

Last updated 1 year ago

Was this helpful?

Prerequisities

  • Created Bundle Identifier & AppStore App Id

  • ,

Mac OS

  • Open a Keychain Access and select

  • Enter your email, name, and select Saved to disk. Click Continue.

  • After we've created the Certificate Request file:

    • Select Apple Push Notification service SSL (Sandbox & Production)

    • Click Choose File and select the CertificateSigningRequest.certSigningRequest file.

    • Click Continue & Download.

  • Double click on the aps.cer file, and open a Keychain Access.

  • Open login -> Certificates and select your certificate. (You can search it by your app bundle id)

  • Right-click on it and click Export "Apple Push Service: ...". **** After that **** select a place where you want to save an exported file.

  • Enter a password (you will use it for OneSignal later) and click OK.

  • That's it, we've generated our .p12 certificate that can be used for OneSignal Push Notifications.

Windows & Linux

  • Open KeyStore Explorer and click Create a new KeyStore.

  • Select PKCS #12 Type and click OK.

  • After KeyStore was created, right-click on empty space and select Generate Key Pair.

  • Make sure that all parameters match a screenshot one and click OK.

  • Click Contacts button

  • We need 3 parameters (Common Name, Email, and Country). You can select them in the dropdown list and remove the rest through (-) button.

  • Make sure that all parameters match a screenshot one and click OK. (Next two popups will be with name and password, you can click OK without editing on both of them).

  • Right-click on your new Key Pair and select Generate CSR

  • Click Browse.

  • Select a directory where you want to save your file, enter a filename (YOURFILENAME.csr) **** and click Choose

  • Make sure that all parameters match a screenshot one and click OK.

    • Select Apple Push Notification service SSL (Sandbox & Production)

    • Click Choose File and select the CSR file.

    • Click Continue & Download.

  • Open Keychain Explorer, right-click on your Key Pair, and select Import CA Reply -> From File.

  • Select downloaded earlier Apple's aps.cer and click Import.

  • Right-click on your previously imported Key Pair and click Export -> Export Key Pair.

  • Enter a password (you will use it for OneSignal later) and click Export.

  • That's it, we generated our .p12 certificate that can be used for OneSignal Push Notifications.

Open the and select **** (left menu)

Click on the ****

Install tool.

Enter all information. Make sure the Country parameter has a 2 symbols value (USA - US, Ukraine - UA, Germany - GE, etc.). You can find your country code .

After we've created CSR file, open your

Open the and select **** (left menu)

Click on the ****

🔑
Apple Developer homepage
Certificates, IDs & Profiles
Add button (+)
Keychain Explorer
here
Apple Developer account:
Apple Developer homepage
Certificates, IDs & Profiles
Add button (+)
Mac OS
Windows, or Linux