Skip to content

Self signed certified (Windows)

Geovanni Perez edited this page Dec 27, 2018 · 5 revisions

Running EmbedIO

First, create the self-signed certified Powershell (as Admin):

$date_now = Get-Date
$extended_date = $date_now.AddYears(3)

$cert = New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname unosquare.io -notafter $extended_date

Add the certified to the desire port (as Admin):

netsh http add sslcert ipport=0.0.0.0:7876 certhash=767b9a3ad23a0cfc597df8be23d58984503c7ad8 appid={adaa04bb-8b63-4073-a12f-d6f8c0b4383f}