Question: how to pfx to pem?
Answer: Download and install the Win32 OpenSSL package from Win32 OpenSSL.
Create a folder c:\certs and copy the file yourcert. ... 
Open command prompt and change into the OpenSSL\bin directory: cd %homedrive%\OpenSSL\bin.