Prior to executing this scenario, execute .\Server\SetupServer.ps1 in an elevated PowerShell commandline to install and configure IIS. The script will generate a self-signed, untrusted certificate with SN=www.fabrikam.com.

The sample will attempt to connect to https://localhost, evaluate the certificate validity and display its properties. A certificate error is expected since the self-signed certificate is not trusted and issued to a different name. We strongly advise against ignoring SSL errors in your applications.