Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / How is a .p12 file created for Apple Push Notifications?

Author
Message
Kevin Cross
21
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 8th Dec 2019 09:58 Edited at: 8th Dec 2019 09:58
Hi,

How is the .p12 file created please? I did this once a year or so ago following these instructions (https://www.appgamekit.com/documentation/guides/push_notifications_ios.htm) but have no idea how I got the .p12 file.

When I create a key on the Apple Developer site for Push Notifications it gives me a .p8 file.

I'm stuck on this line in the instructions:

openssl pkcs12 -nocerts -out PushKey.pem -in exported_private_key.p12

I've never been able to get push notifications on Apple to work, and they've been missing from my app for about 2 years now. I thought I'd give it another go now that I'm close to releasing a big update.

Thanks,
Kevin
OryUI - A WIP AGK2 UI Framework
Kevin Cross
21
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 8th Dec 2019 10:09
Sorry, it looks like I missed the last sentence in this paragraph

"Once enabled select the App ID and choose Edit (if you are not already there) and scroll down to the push notification section. Click Create Certificate in the Production SSL Certificate box and generate a certificate for it. Download the certificate and place it in a folder that is easy to access via the command line (there is no need to add the certificate to your keychain). In your keychain find the private key that was generated for this certificate, export it, and place it in the same folder."

Exporting the main app signing certificate creates the p12 file.
OryUI - A WIP AGK2 UI Framework

Login to post a reply

Server time is: 2025-05-10 03:52:28
Your offset time is: 2025-05-10 03:52:28