Convert an IIS exported PFX file into a PEM, stripping out the passphrase in the process:

openssl pkcs12 -in certificate.pfx -out certificate.pem -nodes