Import SSL Certificate into IIS7

Usually you have three separate files: domain.key - private key, domain.crt - public certificate and intermediate.crt - from your certificate authority. With Apache they can be installed as is. To import those into IIS7 you can convert them with openssl into PFX format

openssl pkcs12 -export -out domain.pfx -inkey domain.key -in domain.crt -certfile intermediate.crt

and then use the Certificates MMC snap-in to import it into the computer's personal store. Run mmc like so:

Start > Run > mmc
Add/Remove Snap-in > Add > Certificates > Add
Computer Account > Local Computer > Finish
Certificates > Personal > Certificates
Right click > All Tasks > Import the .pfx file

Let's hope there won't be many more Windows related logs.