i am using your server and want to send push notification to ios device from APNS server
and for this i have written php script which is reponsible to connect apns server
through socket to send push notification. In php script i access pem file and device token.
which i created through apple developer forum after creating crt and .p12 file.
When i execute php script
i recieve following error
unable to connect ssl gateway.sandbox etc.
although same php script is working fine in locally.
Please tell me if there is any thing that i need to enable on server and how?