immobiliare / ApnsPHP

ApnsPHP: Apple Push Notification & Feedback Provider
BSD 3-Clause "New" or "Revised" License
1.43k stars 452 forks source link

Cert Creation Instructions out of date? #99

Closed byaussy closed 9 years ago

byaussy commented 9 years ago

I'm having a bit of trouble with step 7 of your instructions for creating a certificate to use with this library:

  1. Expand Apple Development Push Services and select Apple Development Push Services AND your private key (just under Apple Development Push Services)

I have keychain open now, and I'm not able to reproduce this step. If I click on "My Certificates", I see no item with "Apple Development Push Services" listed, or anything like it.

If I click on "Certificates" instead of "My Certificates", I see "Apple Development IOS Push Services: ", but it is not "expandable" (no triangle next to it). Also (and maybe a consequence of the differences in the Keychain tool?) There is no private key under Apple Development Push Services.

Any help you can provide to straighten me out is appreciated.

byaussy commented 9 years ago

I figured out my problem. I'll leave the original issue here in case someone else runs into the same issue.

When I got to the step to generate a CSR, I used the one I had used previously, and it apparently didn't have everything needed to add the public key to the certificate. So be sure you follow the directions exactly, and actually generate a new CSR every time you are generating a new certificate.