Convert PEM format to PFX in Windows
Here is how to do this on Windows without third-party tools:
Find your certificate in certificate store. On Windows 10 run the "Manage User Certificates" MMC. On Windows 2013 the MMC is called "Certificates". On Windows 10 by default your certificate should be under "Personal"->"Certificates" node.
Specify password for private key.