Knowledgebase

Converting .pfx file for use with Apache  Print this Article

Run the following command with open SSL:

 openssl pkcs12 -in mypfxfile.pfx -out outputfile.txt –nodes





This will produce a file that contains the private key and all the certificates contained with the .pfx file.

Note: It is recommended to select the option to include all the certificates in the certification path when creating the file.

Generated file outputfile.txt outputfile.txt will contain the private key, certificate issued for domain name, root and intermaediate certificate(s). Save it to separate text files.

Was this answer helpful?

Related Articles

Java Keytool: commands
Deleting a certificate:  keytool -delete -alias aliasname List all of the...
How do I make my own bundle file from CRT files?
You may do this using you favorite text editor or by using the command line.Example: #...
Convert certificates formats (PEM/P7B/PFX/DER)
You can change certificate format using OpenSSL commands or SSL Converter tool. The...
Changing .crt file into the .cer format
Double-click on the yourwebsite.crt file to open it into the certificate display. In a new...
Backing up and Restoring the pending request in IIS 5 or 6
Backing up the private key of the pending request Go to menu Start, select Run,...