How to Export a SSL Certificate From IIS To Apache#

  • Export The SSL certificate from IIS
    • Run mmc.exe
    • Click the 'Console' menu and then click 'Add/Remove Snap-in'.
    • Click the 'Add' button and then choose the 'certificates' snap-in and click on 'Add'.
    • Select 'Computer Account' then click 'Next'.
    • Select 'Local Computer' and then click 'OK'.
    • Click 'Close' and then click 'OK'.
    • Expand the menu for 'Certificates' and click on the 'Personal' folder.
    • Right click on the certificate that you want to export and select 'All tasks' -> 'Export'.
    • A wizard will appear. Make sure you check the box to include the private key and continue through with this **wizard until you have a .PFX file.

  • Use open ssl to extract the private key and the cert file

# Export the private key file from the pfx file
openssl pkcs12 -in filename.pfx -nocerts -out key.pem

# Export the certificate file from the pfx file
openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem

# This removes the passphrase from the private key so Apache won't
# prompt you for your passphase when it starts

openssl rsa -in key.pem -out server.key


Back to Apache

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 24-May-2017 15:30 by UnknownAuthor
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X

All Pages

Page views: 2421

Private Tomcat




SQL Server




Web Mail

Windows Plesk

Linux Plesk




Persits ASPUpload

Wiki Help

Referring Pages:

JSPWiki v2.8.1