How To: Convert SSL Certificates to Different Formats (.crt, .pfx, .ca-bundle)
Sometimes when getting an SSL cert back from a certificate authority it is not in the correct format for your application for example a load balancer, Windows IIS, or Apache to name a few. There are a couple of ways to handle this, I prefer to do it through the use of openssl on my linux box, to do that use the following command format.
Convert From PEM (.crt file) to .pfx
openssl pkcs12 -export -out doman_com.pfx -inkey doman_com.key -in doman_com.crt -certfile doman_com.ca-bundle