Ask a Question

Advanced Search

Solution ID : SO21948

Last Modified : 05/02/2018

Error: "Cannot find the certificate request associated with this certificate file. A certificate request must be completed on the computer where it was created." when installing certificate using Microsoft IIS 8.0


When installing an SSL certificate using Microsoft IIS 8.0 Manager, the following error message may occur even though the installation is successful:


This issue occurs because IIS Manager performs a lookup operation for the friendly name of the SSL certificate during the installation.  However, the code that performs this lookup operation misses this specific case, and it does not know how to retrieve the friendly name of a certificate in a PKCS#7 file.  Therefore, the lookup operation fails, and the error message is displayed.


To resolve this issue, first check to see if the certificate is installed by performing the following steps:

Step 1: Create a 'Certificates' snap-in within the MMC

  1. Access the Search menu. In the Search box, type MMC
  2. From the Microsoft Management Console (MMC), click  File > Add/Remove Snap-in
  3. From the list of snap-ins, select Certificates
  4. Click Add
  5. Select Computer Account
  6. Click Next
  7. Select Local Computer (the computer this console is running on)
  8. Click Finish
  9. In the Add/Remove Snap-in window, click OK

Step 2: Locate the SSL certificate

  1. Go to Personal > Certificates
  2. Right-click the SSL Certificate
  3. Select Properties
  4. Enter a Friendly Name value
  5. Click Apply, then click OK
  6. Go back to Personal > Certificates
  7. Double-click on the SSL certificate

On the General tab, under the validity dates, there should be a key with the following message:
"You have a private key that corresponds to this certificate"

Note: If this is present, close the certificate and the MMC and proceed to Step 3. If there is no reference to the key, please follow these instructions to restore the private key: SO21731

If unable to restore the private key, the certificate will need to be replaced.

If the certificate needs to be replaced, please create a new Certificate Signing Request (CSR) on the server by following the instructions in knowledge base article SO21230. Once the new CSR has been created, reissue the certificate using the instructions found in knowledge base article SO5989.

Step 3: Bind the SSL certificate to the web site in IIS

  1. Click Start > Administrative Tools > Internet Information Services (IIS) Manager
  2. Browse to Server name > Sites > -based site
  3. From the Actions pane, choose Bindings
  4. In the Site Bindings window, choose Add (or Edit if an https binding already exists)
  5. From the Add/Edit Site Bindings window, provide the binding type
  6. Select the SSL certificate that will be used for the site
  7. Click OK