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.
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.
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.