Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

5 Answers 5

up vote 4 down vote accepted

You'll just need to convert the separate certificate files to a .pfx to import it into IIS: https://www.sslshopper.com/ssl-converter.html

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
1  
This totally works. Thank you Jebus! –  Josh Smeaton Dec 20 '10 at 6:08

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt

This one is the perfect answer. Now I can use a common UCC ssl certificate installed on both Linux and Windows servers.

Cool fix !! Linux Rocks :-)

share|improve this answer

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

 
discard

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.