How to exactly configure and implement iOS push notification in PHP server? .Net server need .p12 file. But what exactly need for PHP server?
-
.pem file needed in PHP serverAnbu.Karthik– Anbu.Karthik2016-05-12 12:00:03 +00:00Commented May 12, 2016 at 12:00
-
stackoverflow.com/a/5452792/2138791Muhammad Shahzad– Muhammad Shahzad2016-05-12 12:00:31 +00:00Commented May 12, 2016 at 12:00
Add a comment
|
2 Answers
Export Push certificate from keychain Go to .p12 directory in command line. Execute following
openssl pkcs12 -in Certificates_push_dev.p12 -out Certificates_push_dev.pem -nodes -clcerts
Here is the PHP Code
Comments
You need to create .pem certificate which you can use in your .php file including passphrase
2 Comments
Ahmed Abdallah
@SolidLine when you create .p12 mac ask you to put Password to you generated .pem this called passphrase
Bhavi Lad
passphrase is for security purpose, when you create .p12 certificate from Keychain Access, you can assign Password or you can keep it blank.