IIS: Make sure that your certificates are current
Applies To: Windows Server 2008 R2
This topic is intended to address a specific issue identified by a Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the Internet Information Services Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.
Windows Server 2008 R2
Internet Information Services
SSL Binding '<BindingIPAddress>:<BindingPortNumber>:' has a certificate that has expired, or will expire in 30 days. The certificate has thumbprint '<CertificateHash>' and is located in store '<CertificateStoreName>'.
An expired certificate becomes invalid and can prevent users from accessing your site.
Renew the certificate or choose a new certificate for the site.
To renew a certificate from an external certification authority (CA) such as Verisign, or from an internal (enterprise) CA, contact the certification authority. To import a valid certificate for a site, see the section "Importing a valid certificate for a site."
You cannot renew a certificate that has already expired. If you try to renew a certificate that has expired, the certification authority (CA) will reject the request, and you will see an error message similar to "Error Verifying Request Signature or Signing Certificate. A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file." This message will also be displayed in the Failed Requests node of the issuing CA. If your certificate has already expired, you must request a new certificate instead of renewing the existing certificate.
You cannot renew self-signed certificates.
To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.
Importing a valid certificate for a site
If you have a valid server certificate, you can import it and assign it to your site's HTTPS binding.
To import a valid certificate for a site
Click Start, click Control Panel, and then click Administrative Tools.
Right-click Internet Information Services (IIS) Manager and select Run as administrator.
In the Connections pane on the left, select the computer that contains the site.
In Features View, select Server Certificates.
In the Actions pane, select Open Feature.
In the Actions pane, select Import.
In the Import Certificate dialog, under Certificate file, browse to the file location of the certificate that you want to import.
Under Password, type the password for the certificate.
To use an imported certificate for a site, you must assign the certificate to an HTTPS binding for the site. To do this, perform the following steps.
To assign a certificate to an HTTPS binding for the site
In the IIS Manager Connections pane, select the computer that has the site that you want to configure.
Expand the computer that you selected, then expand Sites.
Select the site that you want to configure.
In the Actions pane, click Bindings.
In the Site Bindings dialog, click Add.
In the Add Site Binding dialog, under Type, select https.
Under IP address, select the IP address that you want to use for the binding.
Under Port, type the port number that you want to use for the binding.
Under SSL certificate, select the certificate that you imported in the previous procedure.
Click OK to add the site binding.
Click Close to exit the Site Bindings dialog.