title: OpenSSL Private Key Error when creating P12 Certificate
body: <p>I am trying to create a P12 certificate from some existing .der files that were created from OpenSSL. </p>
  
  <p>When I tried running the command below, I got an error. </p>
  
  <pre><code>C:\Windows\system32&gt;openssl pkcs12 -export -out bundle.p12 -inkey &lt;PATH&gt;/PrivKey.der -in &lt;PATH&gt;/ClientSignedCert.der -certfile &lt;PATH&gt;/CACert.der
  </code></pre>
  
  <p>The error I received: </p>
  
  <pre><code>Loading 'screen' into random state - done
  unable to load private key
  5688:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib
  .c:696:Expecting: ANY PRIVATE KEY
  </code></pre>
  
  <p>I don't understand this.  I am giving OpenSSL a private key (PrivKey.der). What could be the cause of this error? </p>
  
  <p>OpenSSL 1.0.1 14 Mar 2012 (Library: OpenSSL 1.0.1c 10 May 2012)<br/>
  Windows 7 Professional. </p>