Replacing the SSL certificate bound to port 443 in HTTP.sys (e.g. for local development behind netsh/IIS Express).

Delete the old binding:

netsh http delete sslcert ipport=0.0.0.0:443

Add the new certificate (using its thumbprint):

netsh http add sslcert ipport=0.0.0.0:443 certhash=NEWCERTHASHTHUMBPRINT appid={00112233-4455-6677-8899-AABBCCDDEEFF}

Check the result:

netsh http show sslcert > c:\sslcert.txt

See also