Edujugon / PushNotification

PHP and Laravel Package to send push notifications to Android and IOS devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Certificate Issue

MoaizP opened this issue · comments

I use Apple p12 certificate after converting into pem file its working to send push notifications but ios update this Apple p12 certificate to Apple p8 certificate for apns that is not converting into pem file.
Is here any update on library regarding Apple p8 certificate?

Hey @Edujugon
Is there any update on this library regarding my issue ?
Please reply.

Hey Edujugon,
Please reply on my issue.

Hi @MoaizP ,

This package works with pem file so you should generate that file in order to be able to send notifications.

Maybe this helps:

Create cert.pem file (http://openssl.cs.utah.edu/docs/apps/pkcs8.html)

$ openssl pkcs8 -in cert.p8 -out cert.pem

In case your .p8 file is not encrypted, try to add -nocrypt in the above command.

I'm closing this issue since there is no activity from the creator and it was answered.
Feel free to re-open it if needed.