Error message when you try to install a certificate by using IIS 7.0 Manager: "Cannot find the certificate request associated with this certificate file"

Article translations Article translations
Article ID: 959216 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When you try to install a certificate from a PKCS#7 file by using Internet Information Services (IIS) 7.0 Manager, you may receive one of the following error messages:    
Error message 1
Cannot find the certificate request associated with this certificate file. A certificate request must be completed on the computer where it was created.
Error message 2
There was an error while performing this operation
Details: CertEnroll::CX509Enrollment::p_InstallResponse: ASN1 bad tag value met. 0x8009310b (ASN:276)
Note  The certificate is installed correctly despite the error message.

Cause

This issue occurs because IIS Manager performs a lookup operation to look for a friendly name of the 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 you receive the error message.

Resolution

To resolve this problem, add a friendly name to the certificate. To do this, follow these steps:
  1. Click Start, click Run, type certmgr.mmc, and then click OK.
  2. Click File, click Add/Remove Span-ins.
  3. Select Certificates, and click Add, and then click OK.
  4. Select Computer account, and click Next, and then click Finish.
  5. Click OK.
  6. Expand Certificates (Local Computer), and Personal, and then Certificates.
  7. Right-click the certificate, and then click Properties.
  8. Edit the Friendly name field.

More information

 This issue is scheduled to be resolved in Windows Server 2008 service pack 3. 

Properties

Article ID: 959216 - Last Review: March 15, 2013 - Revision: 7.0
Applies to
  • Microsoft Internet Information Services 7.0, when used with:
    • Windows Server 2008 Service Pack 2
Keywords: 
kbsurveynew kbtshoot kbnomt KB959216

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com