mac-cain13 / notificato

Takes care of Apple push notifications (APNS) in your PHP projects.
MIT License
224 stars 44 forks source link

Add support for p12 certificates #16

Closed mac-cain13 closed 11 years ago

mac-cain13 commented 11 years ago

It's impossible to connect an SSL socket with an P12 certificate in PHP. We must convert the P12 to PEM, save it to disk somewhere, then connect with that cert to APNS and can only remove the cert savely after the connection isn't used anymore.

So this isn't really an improvement of the lib. We could add an convert method for people that need to convert their certs in PHP instead of the commandline.

mac-cain13 commented 11 years ago

Convert method is a bit out of the scope of the project, for issue #18 instructions on how to create an PEM cert will be available. That would be enough certificate support for now I think.