loading...

Microsoft IIS 10.0 – Configuring websites with an SSL port and certificate

How to install Chocolatey on Windows 10

In this recipe, we are going to open IIS Manager on WIN2016IIS. We will also configure the SSL certificate on mysite.com.

Getting ready

To step through this recipe, you will need a running IIS 10.0 server and an administrator account, which will be used to make changes in IIS 10.0.

How to do it…

  1. Go to WIN2016IIS and log in to the IIS 10.0 server. Open the server manager and go to the Tools menu.
  2. Open IIS Manager and expand WIN2016IIS; you will get the Application Pools and Sites. Click on Sites, as shown here:
  1. Go to the Actions pane and click on Add Website. You will get the Add Website window:
  1. Here we’ll enter the site name mysite.com and select the Physical path. In the binding information, we’ve selected https (SSL will not run on the http port; it must be https). Type the IP address of the website, and enter the HTTPS default port, 443. Select the mysite.com certificate, which we created earlier. Click on OK.

 

 

  1. Now you can see that the website has been created:
  1. Go to the Actions pane, and in the the Browse Website section, there will be a link to Browse 172.16.15.60:443 (https).
  2. If you want to assign the certificate to an existing website, you can add a binding for the HTTPS protocol and select the certificate you’ve created or imported.

How it works…

In this recipe, we opened IIS Manager on WIN2016IIS, created the website mysite.com, added binding information for the HTTPS protocol, and configured the SSL certificate called mysite.com, which we’d created earlier.

Comments are closed.

loading...