Search

Language:  
Search for:

Available article translations:

How to extract a Certificate and a Private Key Files from a *.pfx file

APPLIES TO:
  • Parallels Remote Application Server

Information

To extract separate Certificate and Private key files from the *.pfx file follow the procedure below:

  1. Download and install the Win32 OpenSSL package.
  2. Open a command prompt, and move to the OpenSSL-Win32\bin directory, using:

    cd C:\OpenSSL-Win32\bin  
    
  3. Execute the following command to export Private Key file:

    openssl pkcs12 -in [yourfile.pfx] -nocerts -out [keyfile-encrypted.key]
    
  4. Then remove the passphrase from the Private Key

    openssl rsa -in [keyfile-encrypted.key] -out [keyfile-decrypted.key] 
    
  5. Export certificate file:

    openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [certificate.crt]
    

Search words:

SSL

Certifiate

Open SSL

Certificates

Private Key




1d70d1f9c41d01c5f7202a4290e434e1

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No