I\'m trying to send my phone a push notification using the simple PHP tool which connects to ssl://gateway.push.apple.com:2195, but the connection fails with the fo
ssl://gateway.push.apple.com:2195
adding to the answer given by @Sandar you can also set the cafile like this
stream_context_set_option($streamContext, 'ssl', 'cafile', '/path/to/entrust_2048_ca.cer');