title: create a pfx file from a .cer and a .pem file
body: <p>I have used openssl to create a .key and .cer file in pem format (you can read them). Now I want to create .pfx file from them. I have read openssl doumentation it says something like following command I can use</p>
  
  <pre><code>openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer
  </code></pre>
  
  <p>but I don't know which one is my .cer file (certificate.cer or CACert.cer) what is differences between these two files?</p>