p8 is an APNS file extension. Apple have recently made new changes in APNs and now apple insist us to use "Token Based Authentication" instead of the traditional ways which we are using for push notification.
Questions tagged [p8]
15 questions
112
votes
8 answers
How to use Apple's new .p8 certificate for APNs in firebase console
With the recent up gradation of the Apple developer accounts, I am facing a difficulty that while trying to create the push notification certificates, it is providing me with (.p8) certificate instead of APNs ones which can be exported to…

Subso
- 1,413
- 2
- 10
- 16
2
votes
2 answers
Send Push with .p8 and PHP
I need to send Push notifications through PHP script by using .p8 file and found following code in similar question asked here.

Janith Chinthana
- 3,792
- 2
- 27
- 54
1
vote
1 answer
How to sign JWT with PKCS#8 PrivateKeyInfo
I can't figure out how to sign JWT with PKCS#8 key. The key is similar to this one:
-----BEGIN PRIVATE…

MazeGen
- 180
- 3
- 14
1
vote
0 answers
APNS iOS Push notifications not working after app ownership transfer using p8 certificate
After app ownership transfer completed, push notifications stopped working and I am getting this error :
{"reason":"DeviceTokenNotForTopic"}
the request/response :
{URL:…

Claudio Restante
- 11
- 1
1
vote
0 answers
Apple ID p8 key manipulation
Used lib: https://github.com/patrickbussmann/oauth2-apple
Used class: \League\OAuth2\Client\Provider\Apple
Development of Authentification via AppleID in mobile app (ios) Backend: 1c-bitrix (not that important).
Used .p8 file from apple dev…

Anton
- 59
- 6
1
vote
1 answer
Using .p8 certificate in Azure Notification Hub
I am attempting to configure a Notification Hub for APNS in Azure Portal. There are two options: Certificate and Token. The certificate option is redundant as it only takes p12 certifcates and Apple now only does p8 certificates.
For the Token…

pnizzle
- 6,243
- 4
- 52
- 81
1
vote
1 answer
How to use django-push-notifications with an APNS .p8 certificate
Has anybody used the django-push-notifications library recently?
It looks useful, but it seems like it needs an update. The documentation at https://github.com/jazzband/django-push-notifications/blob/master/docs/APNS.rst only discusses how to…

Dylan
- 2,315
- 2
- 20
- 33
1
vote
1 answer
How to configure Push Notification for an iOS app using APNs key (.p8)
I'm trying to configure an app to use Push Notifications using Firebase. From the firebase console, the recommended method to configure an ios app is to use a p8 certificate (APNs key).
I can create the p8 key from apple developer console, then…

Olivier Blanc
- 65
- 5
1
vote
1 answer
Node.js- Can not send Apple Push Notifications to development devices for debug purposes
I am maintaining a Node.js application and new to Node.js. This application sends push notifications to ios devices.
For this purpose there is a config file that contains the apn settings ;
apnConfig: {
providerOptions: {
…

mhendek
- 273
- 2
- 5
- 16
0
votes
1 answer
OneSignal: Moving from p12 certificate to p8 certificate
I'm a little bit confused. I saw that it's possible in OneSignal now to also use p8 certificates.
Now my short question is, do I have to update the mobile app that it's working with p8? Or do I only have to change the certificate in OneSignal and…

Kisimedia.de
- 68
- 7
0
votes
0 answers
{"reason":"BadDeviceToken"} http2 IOS notifications from Nodejs
I am trying to send push notifications using http2 api from my node backend.
I have the following with me from the IOS team .
.p8 AuthKey
Team ID
Key ID
We have generated the build from the production environment.
Key is generated using the…

swaths
- 3
- 3
0
votes
0 answers
Which is the exactly content of a Apple .p8 file?
I need the APN key to configure Firebase Cloud Messaging (FCM) for an App. I asked this key and I've received something like this text by email:
auth:
key_identifier: "J54F12867G"
encryption_key: |
-----BEGIN PRIVATE…

Sebastian Diaz
- 155
- 7
- 19
0
votes
0 answers
How to extract a raw string from a dumpasn1 output?
I own an Apple APNs p8 file, which is basically a PKCS#8 file containing a public key as well as a private key.
I basically need to extract the private key information from this file, to then sign a JWT.
DISCLAIMER: the following information matches…

David Kohelet
- 29
- 6
0
votes
1 answer
403 Forbidden error when making a push request to APNS with Go. Am I creating the JWT correctly?
I'm getting the following error when making a push notification request to APNS: &{403 Forbidden 403 HTTP/2.0 2 0 map[Apns-Id:[7BF53274-A04B-7C1B-8312-DB01DA48A519]] {0xc0000c88c0} -1 [] false false map[] 0xc000132000 0xc0000ba370}
I suspect my code…
user11042303
0
votes
1 answer
Websites for push message sending with p8 file
I am using push notification with .p8 file in ios app. i know dummy apn sender with .pem or .p12 file. can anyone suggest some push notification sender website like this website that accept p8 file.

dinesh sharma
- 577
- 10
- 20