I created a .pem file that will be used to notify Push Production,
and uploaded to the server.
But when sending a push notification, it gives such an error.
$ fp = stream_socket_client ('ssl: //gateway.push.apple.com: 2195', $ err, $ errstr, 60, STREAM_CLIENT_CONNECT, $ ctx); not working, return failed.
What is this mistake, how to solve it.
Finally, how to find out if the .pem file is correct or not.
source
share