How to do it...

  1. Log in to Windows Server 2016. The IP is 172.16.15.60 and the name of the server is WIN2016IIS.
  2. Press Windows + R. You will get the Run window. Open PowerShell ISE with administrative rights, type RunAs /user:Administrator PowerShell_ISE.exe in the run command window, and press OK.
  3. Now it will ask you for the administrator password of server WIN2916IIS. Type the administrator password and press Enter. The PowerShell window will open. Now you have to type New-SelfSignedCertificate -DnsName v3mysite.com -CertStoreLocation cert:LocalMachineMy, as shown here:
  1. You can see in the PowerShell window that the certificate has been created. It is a self-signed certificate.
  2. Let's open IIS Manager. Click on the WIN2016IIS server, and you'll see the Server Certificates.

 

 

  1. Open the Server Certificates window from the Features pane, as shown here:
  1. Here you can see the self-signed certificate v3mysite.com listed.
..................Content has been hidden....................

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