Converting Certs to PEM Windows

You can export to PEM from the Certificate dialog that is built into Windows. The export format is called Base-64 encoded X.509 (.CER) and that produces a valid PEM file with a .CER file extension.

Steps

  1. Open any certificate by double-clicking a certificate file in Windows Explorer, inspecting one in your web browser of choice, or from the Certificate Manager Tool (certmgr)
  2. Switch to the Details tab of the Certificate dialog and then click Copy to File.
  3. Click Next in the Certificate Export Wizard window and then select Base-64 encoded X.509 (.CER) on the Export File Form screen and then click Next.
  4. Click Browse or enter a File name and click Next then click Next and Finish.
    Note: The extension of the exported file may be .CER but it is a valid PEM format.