title: Unable to load certificates when trying to generate pfx file
body: <p>I have been struggling for the last three hours trying to create an .<code>pfx</code> file using <code>OpenSSL</code>.  I have been following this <a href="http://www.windowsazure.com/en-us/documentation/articles/web-sites-configure-ssl-certificate/">document</a> and have been following the instructions under the <code>Get a certificate using OpenSSL</code> header.</p>
  
  <p>I am at the step here: <code>openssl pkcs12 -export -out myserver.pfx -inkey myserver.key -in myserver.crt</code> and am using the <code>OpenSSL.exe</code> console.</p>
  
  <p>I get the error: <code>unable to load certificates</code></p>
  
  <p>I have also tried this: <code>x509 -text -in myserver.key</code> and received the error: <code>0906D06D06C:PEM_read_bio:no start line:.\crypto\pem\pem_lib.b.c:703:Expecting: TRUSTED CERTIFICATE</code>  I also get that error if I try myserver.crt.</p>
  
  <p>I seem to get it no matter what I do.</p>
  
  <p>Can someone please help?</p>