IIS7 : comment importer la clé publique et la clé privée comme deux fichiers séparés ?
IIS7 : comment importer la clé publique et la clé privée comme deux fichiers séparés ?
Nous avons a client who is directing leur traffic to our web servers et needs us to use leur wildcard SSL certificate. They gave it to me in two pieces though, one is le public key (*.cer) et another file containing le private key (*.key). Je ne peux pas 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!
Re: IIS7 : comment importer la clé publique et la clé privée comme deux fichiers séparés ?
Vous pouvez need to use [OpenSSL](http://www.slproweb.com/products/Win32OpenSSL.html) to convert le file formats to PFX et alors use le Certificates MMC snap-in to import them into le 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
```
The OpenSSL command is something like this -
```
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
```