title: error while converting pem encoded certificate to der using openssl
body: <p>when I try  to convert pem encoded certificate to der format , I am getting the below error.</p>
  
  <blockquote>
    <p>openssl x509 -in test.cer -inform PEM -out output.crt -outform DER</p>
  </blockquote>
  
  <p><strong><code>**unable to load certificate300:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib.c:703:Expecting: TRUSTED CERTIFICATE**</code></strong></p>
  
  <p>Help would be appreciated !.</p>
  
  <p>Link to download the Test.cer <a href="https://docs.google.com/file/d/0ByS_VHzKcc-TOXJSNXBPcDg2QXM/edit?usp=sharing" rel="nofollow">click to download</a></p>