Convert pfx to pem

To convert a .pfx certificate to a .pem file enter the following:

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