Base de connaissances / Knowledge base

Renouveler un certificat SSL 1024 bits dans 2048 bits dans un environnement IIS (01.12.11)
Cet article tiré d'un forum explique comment renouveler un certificat SSL 1024 par un certificat SSL 2048 sans interruption de service pour les clients du réseau.
Part I - Creating a Temporary Website

In Part I, we will create a temporary website that will, at this end of the process, have a status of Stopped.  Creating this website and having it stopped in IIS poses no security risks and will not affect your other websites.

   1. Open up IIS. This can be found in the Administrative Tools in Control Panel.

   2. In the Internet Information Services (IIS) Manager window, right-click on the Web Sites folder and select New and Web Sites from the drop down menu.

   3. The Web Site Creation Wizard willl appear.  In that new window, click on Next.

   4. On the next screen, type in "Temporary" into the Description field.  Once you have done that, click on Next.

   5. At the IP Address and Port Settings screen, leave the defaults and click on the Next button.

   6. In the Web Site Home Directory screen, click on the Browse folder and navigate to the Inetpub folder (or a folder of your choosing).  Once selected, click on the Next button.

   7. The next screen shows the Web Site Access Permissions.  Uncheck all of the boxes and click on Next.

   8. At the final screen click on the Finish button.

   9. Back in the Internet Information Services (IIS) Manager window, right click on the Temporary  website and select Stop from the drop down menu.


Part II - Creating a CSR for Temporary

Part II follows the process for creating a CSR as you would for a normal certificate on the new Temporary website that you created in Part I.  If you are familiar with this process, you can skip to Part III.

   1. Open up IIS. This can be found in the Administrative Tools in Control Panel.

   2. Right-click on the temporary website and click on Properties from the drop down menu.

   3. A new window will appear.  In that new window, click on the Directory Security tab at the top.
      In the same window, you will see three sections.  The bottom section named Secure communications has three buttons.

   4. Click on the Server Certificate... button.
      The IIS Certificate Wizard appears.

   5. Select the circle, Create a new certificate. and click on Next.

   6. On the next step on the Wizard, select the circle, Prepare the request now, but send it later and click on Next.

   7. At the next step in the Wizard, enter in a Name for your certificate.  In the field where you see Bit length: select 2048 from the drop down. Leaving the other two check boxes unchecked, select Next.

   8. On the next screen, enter in the full legal name of the company which the certificate belongs into the Organization field.  In the Organizational unit field, enter in the department of the organization, such as 'IT' or "Marketing".  Click on Next.

   9. At the next screen, you will need to enter in your FQDN (fully qualified domain name) of your website in the field named Common name. It looks like "secure.example.com" or "example.com". Click on Next.

  10. On the next screen, you will need to select the country of your organization from the Country/Region drop down. You will then need to type in the State/province of that country along with city within that state within the City/locality field.  Once you have done that, click on Next.

  11. At the next step of the Wizard, you will need to specify where to save the CSR text file that will be created.  To change the location, you should click on the Browse... button.  After you have selected a location, click on the Next button.

  12. At the final screen, you will see a summary of all the certificate details that you have created.  Click on Next to generate the CSR file.
      Note: When you have generated a CSR file, you will have a pending request held for this website.  If this pending request is deleted before a certificate response can be installed, the set of private keys that were created will be deleted as well.  This will render the CSR file and the certificate response useless, including during installation.

  13. Open the newly created CSR file using notepad.  Select all the contents, copy and then paste into the submission form on QuoVadis' Website.


Part III - Installing the certificate onto Temporary

Part III follows the normal process for installing the certificate onto the CSR that was created in Part II.  If you are familiar with the process of installing an SSL certificate, you can do so and skip to Part IV.

   1. Open up IIS. This can be found in the Administrative Tools in Control Panel.

   2. Right-click on the Temporary website and click on Properties from the drop down menu.

   3. A new window will appear.  In that new window, click on the Directory Security tab at the top.  In the same window, you will see three sections.  The bottom section named Secure communications has three buttons.

   4. Click on the Server Certificate... button.

   5. A wizard appears.  Click on Next.

   6. On the next screen, select the option, Process the pending request and install the certificate.  Click on Next.
      Note: If you do not see this option, this could mean that the CSR may have been deleted.  If this is the case, then the certificate file is cannot be used.

   7. At the next step of the wizard, you must click on browse and navigate to the .crt that was supplied to you by QuoVadis.
      Note: By default, the IIS Certificate Wizard looks for files with the extension of .cer.  In order for it to accept the .crt file, you will need to drop the File of type: field down to look for All files and the .crt file should appear.  Once you can see it, select it.

   8. Click on Next.

   9. On the next screen, leave the default to port 443.  Click on Next.

  10. You should now see a summary screen.  When you have finished looking at the summary, you should click on Next.

  11. At the final screen, click on Finish.


Part IV - Assigning the Stronger Certificate

In Part IV, we will assign the certificate that was installed to the production website and then delete the Temporary website.

   1. In IIS, right-click on the production website that has the 1024-bit certificate installed and then click on Properties from the drop down menu.

   2. A new window will appear.  In that new window, click on the Directory Security tab at the top.  In the same window, you will see three sections.  The bottom section named Secure communications has three buttons.

   3. Click on the Server Certificate... button.

   4. A wizard appears.  Click on Next.

   5. On the next screen, select the option, Replace the current certificate.  Click on Next.

   6. You should see a list of certificates which contains the certificate you have installed on the Temporary website.  Select the newly installed certificate that contains a key size of 2048-bits from this list.  Once selected, click on Next.

   7. IIS will display the new replacement certificate's details.  Verify these details and then click on Next.

   8. Click on the Finish button on the next screen.

   9. Back in the Properties window, click on the OK button.  The certificate on your website has been updated with the stronger 2048-bit certificate with no downtime.

  10. The final step of this article is to delete the Temporary website that you created in Part I.  To do this, right-click the Temporary website from IIS and select Delete from the drop down menu.  Click on Yes at the, "Are you sure you want to delete this item?"

Produit concerné
SSL, IIS6
Catégories / sous-catégories
Source de l'information
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_25157102.html