HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


Installing an SSL certificate on IIS 8&10

Table of contents:

 

SSL Installation process

Get your SSL files ready

Once you have your SSL certificate activated, validated and issued, you will receive the certificate files in a .zip archive by email. Alternatively, you can download it from your Namecheap account as shown here.
 
For SSL installation on Windows, you should use the .p7b file from the downloaded archive. It contains the end-entity certificate for your domain and the combined Certificate Authority intermediate certificates (CA bundle). You can also use the .cer (not .crt or .cert) file for installation. This is similar to .p7b, as it contains both the certificate and CA bundle, but in a binary form.
 
If you have only .crt/.cert and .ca-bundle certificate files (e.g. files for a custom certificate), you can convert them into a .p7b file by using this online tool. Use the "PEM to PKCS7" option.

Install the SSL

  1. Start Internet Information Services (IIS) Manager by entering "inetmgr" into the search field located near the Start button or in the Run window, which can be launched by pressing the Win+R hotkey.

  2. Double-click on the Server Certificates icon in the IIS Manager's home page.

    install_iis10_01

  3. Hover the mouse over the Actions pane on the right side of the window and click Complete Certificate Request.

     

    install_iis10_02

  4. The next screen - Specify Certificate Authority Response - contains 3 fields:

    • File name containing the certification authorityâ$™s response - browse the file system to find the .p7b certificate file.
    • Friendly name - this field helps the server administrator to easily locate a particular certificate. For example, the domain name of the certificate can be specified in this field.
    • Select a certificate store for the new certificate - keep this set to Personal, the default value.

    install_iis10_03

  5. When you have completed all the fields, click OK to import the certificate to the server storage.

    Note: If you receive a "Cannot find the certificate request..." error at this point, please refer to this part of the guide.

  6. If installation is successful, a new entry will appear on the Server Certificates page.

    install_iis10_04

    Note: If the certificate disappears from the list after importing, please check this part of the guide for a solution.

Bind the SSL to your site

  1. The installed SSL certificate must now be assigned to a website by binding it to a secure port. To do this, select the Sites folder in the Connections panel on the left side of IIS Manager and click on the corresponding site. Then, in the Actions panel on the right side, select Bindingsâ$¦.

     

    install_iis10_05

  2. Click Add... on the right side of the Site Bindings window.

    install_iis10_06

  3. The next pop-up window will feature several fields that need to be modified:

    • Type - select "https" from the drop-down menu;
    • IP address - choose the specific IP address or "All Unassigned";
    • Port - specify the port number for a secure connection. The default port number is 443;
    • SSL certificate - select the corresponding certificate, identified by the previously specified Friendly name.

    install_iis10_07

  4. Click OK to bind the certificate with the site. The new entry should appear in the Site Bindings window.

    install_iis10_08

    Note: Usually, there is no need to restart the server, so after the SSL certificate has been installed and the binding created, your site should become accessible via https:// in a browser.

    To check if the certificate has been successfully installed, you can use this tool.
 

HTTPS redirect

Once you have an SSL certificate installed on your domain, you should enable HTTPS redirect to force all HTTP requests to use HTTPS instead. HTTPS is an extension of the HTTP protocol where the data transmission is encrypted using an SSL certificate.

On Windows, the HTTP to HTTPS redirection can be enabled with the help of the URL Rewrite module. To do this, follow our step-by-step guide that features screenshots.

You can use this checker to see if the redirect was successfully enabled.

 

Possible issues with installation

"Cannot find the certificate request..."

Upon installing an SSL certificate on IIS, you may receive the following error:

The most common reason for this is that you are trying to import an SSL certificate activated with a Certificate Signing Request (CSR) generated outside of the server. If that is the case, you can:

  • Create a PFX using the certificate, CA bundle and private key and import it into IIS. A PFX certificate file can be created in different ways, for example:

  • Reissue your certificate with a CSR generated on the server and install it with the .p7b file.

Note: make sure to create or edit the binding after the certificate is imported.

If you are sure the CSR was created on the server and you still receive this error, you can try the following:

  • Close the error window and refresh the installation window by pressing F5, and try again. If the certificate appears, finish the SSL installation by creating or editing a binding.
  • If the certificate does not appear, you can try to assign a friendly name to it by using MMC or certutil. The issue may be occurring due to the friendly name being left blank, so make sure to set it during installation. Check out the official article from Microsoft on this issue or refer to our detailed step-by-step guide.

If neither of the steps above helped, reissue your certificate using a new CSR created on the server and try to install it again.

SSL disappears from the list

Another common issue is the certificate disappearing from the list upon import. The possible methods of resolving this are similar to the the previous issue:

  • If the CSR was created outside of the server, create a PFX and import it into IIS. A PFX certificate file can be created by using OpenSSL as shown here, or by using our online converter (PFX is PKCS12 formatted).
  • Reissue and install the certificate with a CSR created on the server.

If the CSR was created on the server but the certificate disappears, you can try to force the link between the certificate and the private key. A detailed guide on the process can be found here.

 

Incomplete certificate chain

There is another issue that can be spotted on a Windows server. Even if you have an SSL certificate correctly installed, some users still may face security warnings when entering your site. The root cause is a peculiarity of how Windows servers handle the SSL handshake, which causes it to use an incorrect Root certificate from the Certificate Authority (CA) Bundle.

Although this issue is not common, it can happen on old devices. Read our detailed article on the subject to find out more and how you can resolve it.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 123456
78910111213
14151617181920
21222324252627
28293031 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional