Converting PFX SSL Private Key to PTL

If you have a PFX private key from an unknown source, you can use the following commands to turn it into a PTL key for use by Discover:

Procedure

  1. Decrypt the file and rename it as a PEM file by running the following command on the DNCA host machine:
    openssl pkcs12 -nodes -nocerts -in key1.pfx -out key1.pem
    
  2. When prompted for the import password, enter the password that you used when you export the certificate to a PFX file. You must receive the following message:
    MAC verified OK.
    
  3. To validate the resulting file from the pkcs12 command:
    openssl rsa -check -noout -in <private_key_filename>