Chapter 6: Modifying sendPushes.php with a Auth Certificate instead of Auth Key

Hi,

I’m working through chapter 6 and am at the part where I’ve started writing the sendPushes.php script. However, I don’t have an Auth Key, instead I got an Auth Certificate and a .p12 file from Apple. Can someone guide me on how the script should be modified to work with the Certificate instead of the Key?

Thanks a lot!

Can you explain why you want to do that? I explain in detail in the book why the key is a much better solution to use that the certificates.