SSL Certificates with IIS web server on Windows Cloud Servers

2019-10-15 By Tan 6307 Views windows ssl web servers security
2 reviews

The Secure Sockets Layer certificate (SSL Certificate) is small data files that digitally bind a cryptographic key to an organization’s details. When installed on a web server, it activates the padlock and the HTTPS protocol and allows secure connections from a web server to a browser.


The easiest way to secure your website is by using an SSL certificate and HTTPS. SSL installation involves three general steps, which are as below:

  • Generating a Certificate Signing Request (CSR)

  • Purchase of SSL certificate from an SSL vendor

  • Installation of SSL certificate in the server


See the instructions for generating CSR and processing SSL installation in the IIS server below.


Generate CSR file


  1. Click Start > Administrative Tools > Internet Information Services (IIS) Manager

  2. In the Connections pane, click the server name.

  3. In the center pane, double click Server Certificates under IIS section.

  4. In the Actions menu in the right pane, click Create Certificate Request.

  5. In the Request Certificate window, provide your information in the Distinguished Name Properties page and then click Next.

  • Common name: Your fully qualified domain/website name.
  • Organization: Your company’s legally registered name.
  • Organizational unit: The name of your department within the organization.
  • City/locality: The city where your company is located.
  • State/province: The state/province where your company is located.
  • Country/region: The country/region where your company is located. You can use the drop-down list to select your country.

    SSLcert1

  1. On the Cryptographic Service Provider Properties page, select Microsoft RSA SChannel Cryptographic Provider as the Cryptographic service provider and 2048 as the Bit length, and then click Next.

  2. On the File Name page, under Specify a file name for the certificate request, you may specify a file name and save location for your CSR.

  3. Click Finish once done.

  4. The generated CSR can then be used to order the SSL certificate from a third-party SSL provider.

Install SSL Certificate


Once the SSL provider has issued and provided the certificate, you need to install and configure the SSL certificate in the server where the CSR was generated.

  1. Save the SSL certificate .cer file that you have received from the SSL provider in the server where you generated the CSR.

  2. Click Start > Administrative Tools > Internet Information Services (IIS) Manager.

  3. In the Connections pane, click on the server name.

  4. In the center pane, double click Server Certificates under IIS section.

  5. Click Complete Certificate Request in the Actions menu (right pane).

  6. In the Complete Certificate Request window, on the Specify Certificate Authority Response page, provide the below information:

  • File name containing the certificate authority's response: Locate the .cer SSL certificate file that you have saved in the server.
  • Friendly name: A name used to identify the certificate.
  • Select a certificate store for the new certificate: Select Personal, in the drop-down list.

    SSLcert2

  1. Click OK to install the certificate.

Now, that the SSL certificate has been installed on the server, you would need to configure your website to use it.

Configure website to use the installed SSL Certificate


  1. In IIS Manager, in the Connections pane, expand the name of the server, expand Sites and then click website you want to secure using the SSL certificate.

  2. In the Actions menu, click Bindings.

  3. In the Site Bindings window, click Add.

  4. In the Add Site Binding window, specify the below settings and then click OK.

  • Type: Select HTTPS from the drop-down list
  • IP address: From the drop-down list, select the IP address of the website or select All Unassigned.
  • Port: Type 443 (SSL uses port 443 to secure traffic.)
  • SSL certificate: From the drop-down list, select the installed SSL certificate.
  1. Your website is now configured to use the newly installed SSL certificate.

Testing the SSL Certificate Installation


  1. For best results, make sure to close your web browser first and then re-launch it.

  2. Visit your site with the secure HTTPS URL (i.e., go to https://www.example.com, not http://www.example.com).


Related LayerStack Product


Related Tutorials

What do you think about this article?

Rate this article
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.