title: NodeJS & SSL - "bad password read"
body: <p>Node is failing to create a secure context for SSL communications.</p>
  
  <p>Specifically, I'm trying to get remote notifications to work on iOS. I use a module, called node-apn which throws this error:</p>
  
  <pre><code>Error: error:0906A068:PEM routines:PEM_do_header:bad password read
  at Error (native)
  at Object.createSecureContext (_tls_common.js:108:19)
  at Object.exports.connect (_tls_wrap.js:852:21)
  at apnSocket (/home/Slurp/node_modules/apn/lib/socket.js:56:19)
  at Connection.&lt;anonymous&gt; (/home/Slurp/node_modules/apn/lib/connection.js:188:17)
  at _fulfilled (/home/Slurp/node_modules/apn/node_modules/q/q.js:834:54)
  at self.promiseDispatch.done (/home/Slurp/node_modules/apn/node_modules/q/q.js:863:30)
  at Promise.promise.promiseDispatch (/home/Slurp/node_modules/apn/node_modules/q/q.js:796:13)
  </code></pre>
  
  <p>This seems to be a generic error though, and isn't really related to APN specifically.</p>