Virtual Server: Windows/IIS Certificate Install
This page explains how to install a certificate for most web servers running on Windows with IIS. Some other web applications may involve additional steps to install the certificate, after installing it on IIS.
- Download the certificate from the email.
- The typical file to download is the PKCS#7, Base64 encoded file. It will download a .crt file. Another option is to download the X509 Certificate only, Base64 encoded file, which is a .cer file.
- Save the certificate file and upload it to the server that needs the new certificate.
- Go to the Start menu and search for "mmc.exe" and open it.
- Go to File > Add/Remove Snap-In
- Select Certificates and click Add.
- Select Computer Account and click Next.
- Select Local computer and click Finish
- Click OK to finish adding the Certificates snap-in. The MMC window will display the Certificates listing in the left.
- Expand Personal and click on Certificates in the left pane. The center pane will list the certificates stored on the server.
- Go to Action > All Tasks > Import. Click Next and select the .crt file that was uploaded to the server.
- Complete importing the certificate. It will now be listed along with the other server certificates.
- Go to Server Manager > Internet Information Services (IIS) Manager.
- Under Connections in the left pane, select the server and click on Server Certificates.
- Click "Complete Certificate Request" on the right pane
- Select the certificate file from where you saved it.
- In the Friendly Name, enter the domain name of the server, (i.e. hostname.its.hawaii.edu.)
- Select "Personal" as the certificate store.
- After clicking OK, the new certificate will now show up in IIS.
- In the left pane under Connections, expand Sites and click on Default Web Site.
- Under Actions in the right pane, click on Bindings.
- Select https and click Edit. The host name field can be left blank. Under SSL certificate, click the Select button to choose the new certificate from the list. To confirm that the correct certificate is selected, click on the View button. Click on OK to save and close.
- Go back to the left pane and click on the name of the server, then click on Restart on the right side to restart IIS so that it loads the certificate. This will temporarily take down the website during the restart.
- After IIS restarts, open up the website on a browser and view the certificate. The website's certificate should now be the new one.
- After confirming that the new certificate works, we can delete the old certificate. Go back to Certificates on the MMC, and right-click to delete the old one. Restart IIS again and view the website to make sure everything is up and working.