openssl pkcs12 -in cert.pfx -out cert.key -nodes -nocerts
openssl pkcs12 -in cert.pfx -out cert.crt -nodes -nokeys
openssl pkcs12 -in cert.pfx -out ca-cert.crt -nokeys -cacerts -chainopenssl pkcs12 -in cert.pfx -out cert.key -nodes -nocerts
openssl pkcs12 -in cert.pfx -out cert.crt -nodes -nokeys
openssl pkcs12 -in cert.pfx -out ca-cert.crt -nokeys -cacerts -chain