Knowledgebase

How to move certificate and key from Apache to IIS?  Print this Article

Use command:

-> openssl pkcs12 -export -inkey KEY_FILE_NAME -in CERT_FILE -out SOMETHING.pfxNote: Remember to change the Key file name, Cert file and Something for real data.

If you would like to combine all certificates (Root, Intermediate and Domain/Page) with private kay to .pfx/p12 file use:

-> openssl pkcs12 -export -inkey KEY_FILE_NAME -in CERT_FILE -certfile APACHE_CA_BUNDLE -out SOMETHING.pfx

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...
Converting .pfx file for use with Apache
Run the following command with open SSL:  openssl pkcs12 -in mypfxfile.pfx -out...