title: How to resolve Error: error:0909006C:PEM routines:get_name:no start line?
body: <p>I have a Typescript project where I read in <code>AmazonRootCA1.pem</code> for fully functioning <code>AwsIotRestApi</code>. That is, when I run the API it seems to be working just fine. I want to test the API with mocha. When I attempt to do so I get the following error:</p>
  <pre><code>Error: error:0909006C:PEM routines:get_name:no start line
  </code></pre>
  <p><code>AmazonRootCA1.pem</code>, the file which is being read is correctly formatted, so I'm not entirely sure how to go about solving this. Would anyone know how to resolve this error?</p>