Generate Wildcard SSL for Apache 2.x using OpenSSL
openssl req -new -newkey rsa:2048 -nodes -keyout star.domain.key -out star.domain.csr
Convert an Apache Cert and Key to IIS format
openssl pkcs12 -export -out star.domain.pfx -inkey star.domain.key -in star.domain.crt
Import Key into IIS from pfx format:
  1. Start > Run
  2. Type in MMC and click GO
  3. Go into the Console Tab > select Add/Remove Snap-in
  4. Click on Add > Double Click on Certificates and click on Add > OK
  5. Select Computer Account
  6. Select Local Computer
  7. Click the + to Expand the Certificates Console Tree
  8. Right click on the Personal Certificates Store
  9. Choose > ALL TASKS > Import
  10. Follow the Certificate Import Wizard to import your Primary Certificate from the .pfx file. When prompted, choose to automatically place the certificates in the certificate stores based on the type of the certificate.
  11. In your IIS manager, right-click on the site that you would like to use the certificate and select properties.
  12. Click on the Directory Security Tab and hit the Server Certificate Button. This will start the server certificate wizard.
  13. If you are asked what you want to do with the current certificate on the site, choose to remove it, finish the wizard, and click the server certificate button to run the wizard again.
  14. Choose to 'Assign an existing certificate' to the site and choose the new certificate that you just imported and supply the password used to create the pfx file.
  15. Finish the certificate wizard.
  16. Restart the server.

1 comment:

Frank said...
This comment has been removed by a blog administrator.