Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a client who is directing their traffic to our web servers and needs us to use their wildcard SSL certificate. They gave it to me in two pieces though, one is the public key (.cer) and another file containing the private key (.key). I can't figure out how to get these two to come together in IIS so I can bind it to a site. Assistance is greatly appreciated. Thanks!

share|improve this question
up vote 4 down vote accepted

You'll just need to convert the separate certificate files to a .pfx to import it into IIS:

share|improve this answer

You may need to use OpenSSL to convert the file formats to PFX and then use the Certificates MMC snap-in to import them into the local computer's personal store.

The OpenSSL command is something like this -

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
share|improve this answer
This totally works. Thank you Jebus! – Josh Smeaton Dec 20 '10 at 6:08

You need to load the certificate into the certificate store on your computer. The certificate store is an MMC snap-in.

share|improve this answer

You could ask your client if the certificate could be exported as .pfx file. You can easily import the pfx file using IIS Manager.

Here is a link to a tutorial: PFX Export/Import Explained - How to Import and Export your SSL Certificate in IIS 7

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.