Hi
To create a pme file for apple push notification, I have followed the instructions, mentioned in README.txt file as well as on http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notificat... .
The file resides at module's certificate directory.
e.g.: /var/www/html//sites/all/modules/contrib/push_notifications/certificates/apns-development-f46746941d.pem (As i am trying to send push notifications from local development environment).
And when i try to send notification, it throws following errors:
Warning: stream_socket_client(): Unable to set local cert chain file `/var/www/html/drupal73/sites/all/modules/contrib/push_notifications/certificates/apns-development-f46746941d.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in push_notifications_open_apns() (line 356 of /var/www/html/drupal73/sites/all/modules/contrib/push_notifications/push_notifications.module).
Warning: stream_socket_client(): failed to create an SSL handle in push_notifications_open_apns() (line 356 of /var/www/html/drupal73/sites/all/modules/contrib/push_notifications/push_notifications.module).
Warning: stream_socket_client(): Failed to enable crypto in push_notifications_open_apns() (line 356 of /var/www/html/drupal73/sites/all/modules/contrib/push_notifications/push_notifications.module).
Warning: stream_socket_client(): unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in push_notifications_open_apns() (line 356 of /var/www/html/drupal73/sites/all/modules/contrib/push_notifications/push_notifications.module).
APNS connection could not be established. Check to make sure you are using a valid certificate file.
Please let me know, what i am missing?
or what is the solution for this?