title: Unable to load client certificate private key file
body: <p>I am unable to create Apple Push Notification cert files. When I test .pem files I get an error.</p>
  
  <p><code>openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert pushapp_cert_dev.pem -key pushapp_key_dev.pem</code></p>
  
  <p>will give an error:</p>
  
  <p><code>unable to load client certificate private key file
  140735327015760:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: ANY PRIVATE KEY</code></p>
  
  <p>I am following these instructions: <a href="https://github.com/raix/push/wiki/iOS-Micro-Walkthrough" rel="nofollow">https://github.com/raix/push/wiki/iOS-Micro-Walkthrough</a></p>
  
  <p><strong>pushapp_cert_dev.pem</strong></p>
  
  <pre><code>-----BEGIN CERTIFICATE-----
  MIIFiTCCBHGgAw...ff6eVQDZV4=
  -----END CERTIFICATE-----
  </code></pre>
  
  <p><strong>pushapp_key_dev.pem</strong></p>
  
  <pre><code>Bag Attributes
      friendlyName: pushApp
      localKeyID: EB 91 B3 CD A0 F5 9A 56 46 96 43 24 C8 B0 A7 56 62 01 9E 2C 
  Key Attributes: &lt;No Attributes&gt;
  </code></pre>
  
  <p>Both files are in the same location.</p>