I\'ve been working through Ray Wenderlich\'s tutorials on push notifications using a PHP Script.
Reference: http://www.raywenderlich.com/32960/apple-push-notificatio
Update to macOS sierra 10.12.5
please add
stream_context_set_option($ctx, 'ssl', 'verify_peer', false);
The problem is in new PHP Version in macOS Sierra