Certificates for Apple push Notification

I am trying to use open source apns-php .

The certificate instructions tell you how to create certificates.

I ended up with two certificates:
1.server_certificates_bundle_sandbox.pem
2.entrust_root_certification_authority.pem

From your knowledge, where should I upload them?
(I do this for the first time)

+3


source to share


1 answer


From the "tutorial" in the link given in your question, you should use server_certificates_bundle_sandbox.pem as the APNS certificate for the Sandbox.

You must upload to a folder from your web root. Example:

if yours is web root /var/www/

you can load it into /var/certrepo/server_certificates_bundle_sandbox.pem

. Submit your PHP script certificate to this location and you can use the certificate.



entrust_root_certification_authority.pem is not used in your PHP script.


Important: Please note that the certificate is the Sandbox certificate that you use to validate your APNS logic. To apply to a production environment (which allows for faster notification rates), use a Production Certificate and connect to a production APNS server.

+3


source







All Articles