1

How to exactly configure and implement iOS push notification in PHP server? .Net server need .p12 file. But what exactly need for PHP server?

2

2 Answers 2

3

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

Sign up to request clarification or add additional context in comments.

Comments

0

You need to create .pem certificate which you can use in your .php file including passphrase

2 Comments

@SolidLine when you create .p12 mac ask you to put Password to you generated .pem this called passphrase
passphrase is for security purpose, when you create .p12 certificate from Keychain Access, you can assign Password or you can keep it blank.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.