ciki
unread,Sep 30, 2011, 3:41:48 PM9/30/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to apns-php
Hi,
I wonder if support for certificates encrypted with passphrase could
be added to library.
All what is needed is adding a member $certificatePassphrase to
ApnsPHP_Abstract class which could be optionally set in constructor as
3rd argument and in method _connect() just test for its existence and
add it to stream options like this
if (!empty($this->certificatePassphrase)) {
stream_context_set_option($streamContext, 'ssl', 'passphrase',
$this->certificatePassphrase);
}