How to Move certificate from Apache to Microsoft IIS 6.0? Print

  • 0

Microsoft IIS 6.0 allows an import of key pairs; therefore, you will need to create a .p12 file with Openssl - which contains your private key, and certificate file.

 

Step 1: Convert your certificate and private into a .p12 file

 

To convert your separate key and certificate files into a single .p12 file use the following Openssl command:

 

Openssl pkcs12 -export -out file.p12 -inkey privatekey.key -in certificate.crt


 

Step 2: Import the backup file to Microsoft IIS 6.0


  1. Right-click on the Web site in question and select Properties.
  2. Go to the Directory Security tab > Secure Communications Server Certificate
  3. The "Web Server Certificate Wizard" will start up.
  4. Click on Next.
  5. Select Import a certificate from a .pfx fileand click on Next.
  6. Enter the path and file name of the file containing both the Certificate and Private Key file (.pfx/.p12 file) or use the Browse button to browse to the location of the .pfx/.p12 file.
  7. Select Mark certificate as exportable. This allows you to mark the imported Certificate as exportable. Marking a Certificate as exportable allows the Certificate to be exported to a file for backup.
  8. Click on Next.
  9. Enter a password for the Certificate you want to import.
  10. Click on Next.
  11. Assign the SSL port for the Web site. (Note: 443 is the default SSL port)
  12. Click on Next.
  13. The next page will display the summary of the imported Certificate. Click on Next.
  14. You will receive a message confirming the successful completion of the import. Click on Finish


NOTE: Under the "Web Site" tab, make sure that a unique IP address has been assigned to the web site and port 443 has been assigned.


Was this answer helpful?

« Back