Microsoft KB Archive/277891

= How to Renew Certificates That Are Used with IIS 5.0 =

Article ID: 277891

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0
 * Microsoft Certificate Services 2.0

-



This article was previously published under Q277891



SUMMARY
Certificates that are installed on computers running Internet Information Services (IIS) 5.0 are usually set to expire in one year from the issue date depending on the Certificate Authority that issued them.

If you have a certificate that is about to expire, you have the option of renewing it to make sure that it continues to be valid. This article describes the steps in the renew process.



MORE INFORMATION
NOTE: If you received your original Web server certificate from a Certificate Authority that is not running Microsoft Certificate Server 2.0 (for example, from Verisign), see the following Knowledge Base article for more information:

262979 Cannot Renew Verisign Certificates in IIS 5.0

In IIS 5.0, the certificates are set for each Web site. To renew a certificate bound to a certain Web site, follow these steps:

IMPORTANT: Do not change any of the Web Site or Directory Security properties for the site until the renewal process is complete.  Open Internet Service Manager. Right-click the Web site for which you want to renew the certificate, and then click Properties. Under the Directory Security section, click Server Certificate. In the Web Server Certificate Wizard, click Next, click Renew the current certificate, and then click Next. If you are running Microsoft Certificate Server 2.0 and it is part of your Active Directory, do the following:

 Click Send the request immediately to an online certificate authority, and then click Next. From the drop-down list, select Certificate Authority, and then click Next.</li> Confirm your selection, and then click Next to complete the renew process.</li></ol>

If you are not running Microsoft Certificate Server 2.0, click Prepare the request now, but send it later.</li> Choose the request file name, and note the directory where you save it.</li> Click Next twice, and then click Finish to complete the wizard. Click OK to close the Web site properties and the Internet Service Manager. You now have a renewal request file.</li> If you received your certificate from a third-party certificate authority (for example, Verisign), send them the renew request file that you created, wait for them to e-mail you a renewed certificate, save the renewed certificate file to your hard disk, and then go to step 16. To save the renewed certificate file to your hard disk, copy the following lines:

-BEGIN NEW CERTIFICATE REQUEST-&quot; until and including &quot;-END NEW CERTIFICATE REQUEST-

Paste the text into a text editor, such as Notepad, and then save the file with a .txt or .cer file extension.

NOTE: Be careful not to include any blank spaces or extra lines.</li> If you received the original certificate from Microsoft Certificate Server 1.0 or 2.0, submit the renewal request by using the Web interface.</li> Open the request file that you generated in step 6, and copy the following lines:

-BEGIN NEW CERTIFICATE REQUEST-&quot; until and including &quot;-END NEW CERTIFICATE REQUEST-

NOTE: Be careful not to include any blank spaces or extra lines.</li> Open your Certificate Server Web interface (for example, http://MyCertificateServer/certsrv).</li> Click Request a certificate, click Next, click Advanced Request, and then click Next. (In Certificate Server 1.0, click Certificate enrollment tools, click Process a certificate request, and then go to step 13.)</li> Click Submit a certificate request using a base64 encoded PKCS #10 file or a renewal request using a base64 encoded PKCS #7 file, and then click Next.</li> Paste the text that you copied in step 10 into the Saved request box, and then click Next.</li> Click Download CA Certification Path, and then save the file on your hard drive. This is your renewed certificate file.</li> In Internet Service Manager, right-click the Web site for which you are renewing the certificate (from step 2), and then click Properties.</li> On the Directory Security tab, click Server Certificate.</li> In the wizard window, click Next, click Process the pending request and install the certificate, and then click Next.</li> Browse to the renewed certificate file, select it, click Next twice, and then click Finish.</li> <li>Click OK to close the sites properties and the Internet Information Services snap-in.</li></ol>

You have successfully renewed the certificate used with IIS 5.0.

IMPORTANT: To confirm that the renewed certificate is correctly bound to the Web site, type the following command at a command prompt:

netstat -an

If it is correctly bound, the netstat -an listing displays the Web site's IP address:port address in a LISTENING or ESTABLISHED state. If this is not the case, restart the IIS service or the computer, and then check the event logs. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

260729 IIS: Enabling Schannel Logging

Additional query words: iis 5

Keywords: kbinfo KB277891

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.