title: Issue in Push Notifications (APNS)
body: <p>I am getting following message while sending Push Notifications from my php code:</p>
  
  #
  
  <blockquote>
    <p>Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:14094414:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate revoked in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: fwrite(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 243</p>
    
    <p>Warning: fclose(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 245</p>
    
    <p>Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:14094414:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate revoked in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: fwrite(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 243</p>
    
    <p>Warning: fclose(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 245</p>
    
    <p>Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:14094414:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate revoked in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 225</p>
    
    <p>Warning: fwrite(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 243</p>
    
    <p>Warning: fclose(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/world-vision/admin/iPhonePush/admin.php on line 245</p>
  </blockquote>