title: Apple apns 'Permission denied' issue
body: <p>I am facing an issue while sending request to server for push notification. While trying to connect to apple server we are getting the  following response,</p>
  
  <p>ApnsPHP[15748]: INFO: Trying ssl://gateway.sandbox.push.apple.com:2195... Tue, 15 Jan 2013 08:20:28 +0100 ApnsPHP[15748]: ERROR: Unable to connect to 'ssl://gateway.sandbox.push.apple.com:2195': Permission denied (13) </p>
  
  <p>We checked the server settings and the server is not blocking any out going requests. We created the p12 certificate as per the guidelines by apple, and we are converting it to .pem by executing following shell command in the server. </p>
  
  <pre><code>openssl pkcs12 -in HSPushNopassword.p12  -out HSPushNopassword.pem  -nodes -clcerts
  </code></pre>
  
  <p>And the same code and certificate is working fine in another server.</p>
  
  <p>Please let me know why we are getting this error? Thanks,</p>