title: OpenSSL, Converting CRT to PEM
body: <p>I've been trying to use openssl to convert a .crt certificate to a .pem </p>
  
  <pre><code>openssl.exe x509 -in server.crt -out openssl.der -outform DER
  </code></pre>
  
  <p>After using that command, I get </p>
  
  <blockquote>
    <p>unable to load certificate<br/>
    1760:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib.c:703:Expecting: TRUSTED CERTIFICATE</p>
  </blockquote>
  
  <p>I've tried following <a href="https://support.ssl.com/Knowledgebase/Article/View/19/0/der-vs-crt-vs-cer-vs-pem-certificates-and-how-to-convert-them" rel="nofollow">https://support.ssl.com/Knowledgebase/Article/View/19/0/der-vs-crt-vs-cer-vs-pem-certificates-and-how-to-convert-them</a> but I'm at a loss and nothing on there is working for me.</p>
  
  <p>Thank you so much for your help,</p>
  
  <p>Brian</p>