- VS: c# httplistener project, add
listener.Prefixes.Add($"https://192.168.1.xxx:4443/");*or some other ip/port - Browser: Test connecting into it, error: "Secure Connection Failed : Error code: PR_CONNECT_RESET_ERROR"
- PowerShell (as administrator) to get certhash using snippet below:
$certs = Get-ChildItem -Path Cert:\LocalMachine\My
foreach ($cert in $certs) {
$thumbprint = $cert.Thumbprint
$appid = [System.Guid]::NewGuid()
Write-Host "Certificate certhash: $thumbprint"