Generating Certificate Signing Requests on Windows Machines
Create a file called request_import.txt, with the following contents. The file has steps at the start of generating the CSR.
Sometimes it is necessary to split a pfx in to certificate and private key due to software not being able to handle import of PFX files. The following will generate a private.key and certfilename.crt file from a PFX when run in powershell. This relies on OpenSSL, which is stored in the Certificates folder.
Open Powershell as an administrator
Change the working directory to the location of the PFX file
Run the following command to generate the private key
.._OpenSSL-Win64\bin\openssl.exe pkcs12 -in *.pfx -nocerts -out private.key
Run the following command to generate the certificate file
.._OpenSSL-Win64\bin\openssl.exe pkcs12 -in *.pfx -clcerts -nokeys -out certfilename.crt