title: AWS IoT private.pem.key doesn't exist
body: <p>When I am trying to run the following node.js example from AWS IoT I get this error(following <a href="https://github.com/aws/aws-iot-device-sdk-js/blob/master/README.md" rel="nofollow">this tutorial</a>):</p>
  
  <pre><code>pi@raspberrypi:~/aws-iot-device-sdk-js/examples $ node device-example.js -g
  
  private.pem.key doesn't exist (--help for usage)
  </code></pre>
  
  <p>However I have the private.pem.key in <code>~/certs</code> folder as requested by the tutorial.  </p>
  
  <pre><code>pi@raspberrypi:~/aws-iot-device-sdk-js/examples $ vi device-example.js 
  pi@raspberrypi:~/aws-iot-device-sdk-js/examples $ ls ~/certs/private.pem.key 
  /home/pi/certs/private.pem.key
  </code></pre>