How to do it...

  1. Open Server Manager on Windows Server 2016. Click on the Tools menu and open IIS Manager.
  2. Select the IIS server (WIN2016IIS). You will get the Feature View, where you will find the Server Certificates option:
  1. We have already created two certificates. These are local certificates for testing. They are not for a live environment. Here, we will use the existing user certificate name, Packt; you will see this is issued Issued To WIN2016IIS.Call.com and also see its Certificate Hash key. The certificate hash is used for encrypting the website data we access, and it uses a hashing algorithm to encrypt website data and decrypt it. IIS 10.0 uses SHA256 256-bit encryption . Certificate Store has the category of certificate listed; we will use WebHosting.

 

 

  1. We have had an overview of the Packt certificate and the WebHosting Certificate Store. Let's move on to binding options.
  2. Expand the IIS server (WIN2016IIS). You will get the listed Application Pools and Sites. There are three sites listed, which are mysite.com, v2mysite.com, and v4mysite.com.
  3. We will use v4mysite.com. Click on v4mysite.com, go to the Actions panel, and click on the Bindings... option:
  1. Once you click on Bindings..., you will get the bind settings property:
  1. In Site Bindings we already configured the properties, which are as follows:

Host name: v4mysite.com
Type: http
Port: 80
IP address: 172.16.15.61

Now, we have to add one more site binding for https. Click on the Add button, and you will get the new window:

  1. Click on the Type: drop-down menu and select https; it will display the default HTTPS Port: 443. You will get the available IP address: 172.16.15.61. You also have to add the hostname, which is v4mysite.com. Now you have to add the SSL certificate, which has already been installed in the previous recipe. Click on the SSL certificate: dropdown and select the certificate you created. Select the Packt certificate from the list.
  1. You can also check the certificate. Click on the View button, and you will get the certificate properties:
  1. The certificate properties will show you general information about the certificate, and the Details tab will show you full details about the certificate property configuration and type. The certification path has information about whether the certificate is installed on a local or remote server and its status. Now click on OK. Click on OK again to add the Site Bindings. Now you will come to the Site Bindings window:
  1. In the Site Bindings list, both HTTP and HTTPS Binding Type must have the same hostname.
  2. Click on OK for the Site Bindings window. You've now configured the selected website, v4mysite.com, to work with HTTP/2.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.62.45