Generate a CSR
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
Create a PFX File on Linux
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile ca-bundle-client.crt
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile ca-bundle-client.crt