title: Convert a .cer file to .pfx file
body: <p>My ultimate objective is to sign my exe.</p>
  
  <p>For this i would need a certificate.
  From my company's pKI i got a .cer file and .p7b (certificate chain) file.</p>
  
  <p>Now to sign an exe i need a .pfx file.
  So i want to convert a .cer file to .pfx file</p>
  
  <p>For this i donwloaded openssl distribution.</p>
  
  <p>Now issuing this command openssl pkcs12 -export -in certificatename.cer -inkey privateKey.key -out certificatename.pfx -certfile  cacert.cer is resulting into unable to load certificates.</p>
  
  <p>Does anyone have any hints on this ?</p>
  
  <p>best Regards,
  Saurav</p>