openssl pkcs12 -in ~~~.pfx -nocerts -out ~~~~.key openssl pkcs12 -in ~~~.pfx -clcerts -nokeys -out ~~~.crt openssl rsa -in ~~~.key -out ~~~.key