Windows Azure – SSL Installation

Like the majority of server systems you will install your SSL certificate on the same server where your Certificate Signing Request (CSR) was created. This is because your private key will always be left on the server system where the CSR was originally created. With Microsoft systems the private key is hidden away and will only appear once the CSR request has been completed. Your SSL certificate will not work without this private key file.

Majority of Azure clients create this keypair from a Windows IIS system. They would install the certificate back into the IIS system, Export and Import it into their Azure Account. We will assume that this is the case and the original system.

If you already have your PFX file refer to Step 4 of these instructions.

To Install your SSL certificate on Windows Azure perform the following.

Step 1: Picking up your SSL Certificate:

  1. If you had the option of server type during enrollment and selected IIS you will receive a pkcs#7/.p7b version of your certificate within the email. Alternately you can access your Certificate User Portal by the supplied link in the email to pick up the pkcs#7 version of your certificate.
  2. Copy the SSL certificate and make sure to copy the —–BEGIN CERTIFICATE—– and —–END CERTIFICATE—– header and footer Ensure there are no white spaces, extra line breaks or additional characters. Use a plain text editor such as Notepad, paste the content of the certificate and save it with extension .p7b (When performing this on a Windows system the Icon of the file should change into a certificate icon)

Step 2: Installing your SSL certificate:

  1. Open your IIS Manager. Choose Start > Administrative Tools > Internet Information Services (IIS) Manager.
  2. From the left menu, Click the server name.
  3. In the middle pane, under Security, double-click Server Certificates.IIS 8
  4. From the right Actions pane, select Complete Certificate Request.IIS 8
  5. Click on the IIS 8 Browse button, navigate and select the location of your new certificate file.  (change the file type you are searching for to all .p7b as the default type may be .cer) 
  6. Specify a friendly name for quick identification of your new certificate.
  7. Click Ok.
    Note: You may receive an error when the system is performing the install. This is typically with a glitch with the IIS 7 to 8 series.

    1. Click Ok to acknowledge the error message, and Cancel out of the Complete Certificate Request Wizard.
    2. Hit F5 on your keyboard to refresh the IIS console. Your new certificate should appear in the Middle pane under Server Certificates. It might be missing a friendly name. If you see the new certificate in this pane it means that installation was successful.
      Note: If you certificate still does not appear then either the CSR request was never created on this system, or your private key was damaged. You will have to generate a new CSR request and perform a reissue of the certificate.

Step 3: Exporting your certificate:

  1. Start > run > MMC.
    mmc
  2. Go into the Console Tab > File > Add/Remove Snap-in.
    mmc

  3. Click on Add > Click on Certificates and click on Add.
    mmc
  4. Choose Computer Account > Next.
    mmc export
  5. Choose Local Computer > Finish.
    mmc export
  6. Close the Add Standalone Snap-in window.
  7. Click on OK at the Add/Remove Snap-in window.

Step 2: Export/Backup certificate to .pfx file:

  1. In MMC Double click on Certificates (Local Computer) in the center window.
  2. Double click on the Personal folder, and then on Certificates.
  3. Right Click on the Certificate you would like to backup and choose > ALL TASKS > Export.
  4. Follow the Certificate Export Wizard to backup your certificate to a .pfx file.mmc export
  5. Choose to ‘Yes, export the private key
    mmc export
  6. Check Include all certificates in certificate path if possible. (do NOT select the delete Private Key option)
    mmc export
  7. Enter a password you will remember.
  8. Specify a file name and path by clicking on the Browse to save your file. 
  9. Click Finish.
    mmc export
  10. You will receive a message > “The export was successful.” > Click OK.The .pfx file backup is now saved in the location you selected and is ready to be moved into your Azure Account.

Step 4: Importing and Assigning certificate pfx into Azure account:

  1. Log into the Azure Management Portal.
  2. Click on Cloud Service or Web App you wish to configure and then select the CONFIGURE tab.
    azure install
  3. Under certificates click upload a certificate.
  4. On the Upload a certificate window click azure browse and browse to your pfx file that you had saved in Step 2.
  5. Specify the password for the pfx file you had created.
  6. Click on the azure check to confirm.
    azure install
    After Upload your SSL certificate will be available under the “Certificates” section.
  7. Under ssl bindings, In the Choose a domain name drop-down list, specify the domain that you want to secure with SSL.
  8. In the Choose a certificate drop-down list, select the new SSL Certificate that you want to use to secure your website.
  9. Select whether to use Server Name Indication (SNI) or IP based SSL.
    azure install

    • IP based SSL: associates a certificate with a domain name by mapping the dedicated public IP address of the server to the domain name. This requires each domain name (domain.com, www.mysite.com, etc.) associated with your service to have a dedicated IP address. This is the traditional method of associating SSL certificates with a web server.
    • SNI based SSL: is an extension to SSL and Transport Layer Security (TLS) that allows multiple domains to share the same IP address, with separate security certificates for each domain. Most modern browsers (including Internet Explorer, Chrome, Firefox and Opera) support SNI, however older browsers may not support SNI. For more information on SNI, see the Server Name Indication article on Wikipedia.
  10. Click Save to save the changes and enable SSL.Your SSL certificate is now installed and configured for its website.

If you are unable to use these instructions for your server, Acmetek recommends that you contact either the vendor of your software or an organization that supports Microsoft.

Microsoft Support:

For more information refer to Microsoft Azure.

 

Recent Posts

S/MIME for Outlook O365 Windows

Add to Favorites S/MIME Advantages of S/MIME Certificates S/MIME (Secure/Multipurpose Internet Mail Extensions) certificates offer several advantages when it comes to securing email communications. Here

Read More »

Abbreviations

Add to Favorites There are literally thousands of IT abbreviations out there. Many are concerned with the technical aspects of the computer, while others deal

Read More »

SSL Installation on Qmail

Add to Favorites SSL Installation on Qmail Qmail is a secure, reliable, efficient, simple message transfer agent. It is designed for typical Internet-connected UNIX hosts.

Read More »