Would you like to learn how to install IIS and enable the HTTPS feature on a computer running Windows? In this tutorial, we are going to show you how to enable HTTPS on the IIS server.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 2022
• Windows 10
• Windows 11

Tutorial Windows - IIS Installation

Open the Server Manager application.

Access the Manage menu and click on Add roles and features.

Windows 2012 add role

On the Server Roles screen, select the option named: Web Server IIS.

Click on the Next button.

IIS Installation

On the following screen, click on the Add features button.

IIS Features

On the Features screen, click on the Next button.

Windows 2012 - Features

On the Role service screen, click on the Next button.

IIS - Role Service

On the Summary screen, click on the Install button.

IIS installation summary

Congratulations! You have finished the IIS service installation on a computer running Windows 2012.

Tutorial IIS - Enable the HTTPS

Start the application named: IIS Manager.

Start IIS Windows

On the IIS Manager application, select your IIS server name.

On the right part of the screen, access the option named: Server certificates.

IIS enable HTTPS

If you already have a certificate, click on the Import option on the top right part of the screen.

If you want to generate a self-signed certificate, select the option named: Create a self-signed certificate.

IIS Self-signed certificate

Enter a name to the certificate and click on the OK button.

IIS HTTP Certificate

Right-click on the desired website and select the option named: EDIT BINDINGS.

IIS Bind HTTPS

Click on the Add button.

IIS Bindings

Perform the following configuration:

• Type - HTTPS
• IP Address - All unassigned
• Port - 443
• SSL Certificate - Select the desired certificate

Click on the OK button.

IIS Configure HTTPS

On the IIS server, open your browser and enter the IP address of your web server using the HTTPS protocol.

In our example, the following URL was entered in the Browser:

• https://127.0.0.1

The HTTPS page should be presented.

IIS SSL TLS

Congratulations! You successfully configured the HTTPS feature on the IIS server.