ApnsPHP icon indicating copy to clipboard operation
ApnsPHP copied to clipboard

Where to get the Entrust Root CA PEM file?

Open mstralka opened this issue 9 years ago • 2 comments

In the sample code, entrust_root_certification_authority.pem is used as the Root Certificate Authority file. Is this file readily available somewhere, or do I have to create it from Entrust's certificates?

In Abstract.php, it provides this link as a reference: https://www.entrust.net/downloads/root_index.cfm

When I go there and select Personal Use and Secure Server Installation as the Reason for download, I'm not sure which file(s) to download in order to create the PEM file. For instance, if I select Root Certificates, I then see several options, each with several files, and none of them are a PEM file:

  • Entrust.net Secure Server Certification Authority
  • Entrust.net Certification Authority (2048)
  • Entrust Root Certification Authority
  • Entrust Root Certification Authority - G2
  • Entrust Root Certification Authority - EC1

Which files should I download to create the PEM?

Thanks in advance

mstralka avatar Apr 09 '15 16:04 mstralka

You should choose the Entrust.net Certification Authority (2048) version.

For development (APN sandbox server), it works well. I've still not tested the production push, but based on documentation at https://code.google.com/p/apns-php/wiki/CertificateCreation, you should use the same entrust file for prod environment.

NicolasCayet avatar Apr 14 '15 09:04 NicolasCayet

where can I learn more about this Certification Authority? I know where to get it but I mean, is this the only one valid place to get one? Can you make one for your own? Is there a link on the Apple documentation that explains this further? I was using an old Binary API and now that I've switched to this I'm looking at this new certificate and I'm a bit lost about it

JuanCAlpizar avatar May 05 '16 20:05 JuanCAlpizar