Question: how to get crt and key from pfx?
Answer: Start OpenSSL from the OpenSSL\bin folder.
Open the command prompt and go to the folder that contains your . ... 
Run the following command to extract the private key: openssl pkcs12 -in [yourfile.pfx] -nocerts -out [drlive.key]