Ubuntu - OpenSSL - Convert pfx to pem

openssl pkcs12 -in file.pfx -out file.nokey.pem -nokeys
openssl pkcs12 -in file.pfx -out file.withkey.pem
openssl rsa -in file.withkey.pem -out file.key
 
cat file.nokey.pem file.key > file.combo.pem