Run IIS under custom port 443 (default is 44300 – 44399 )
1. Get registered certificates of IIS Express:
netsh http show sslcert > registered.certificates
2. Import certificate for port 443, change certhash to your hash and also appid:
netsh http add sslcert ipport=0.0.0.0:443 certhash=aa659f0a9e8cd5614c8b1eb03be8151f05594977 appid={214124cd-d05b-4309-9af9-9caa44b2b74a} certstorename=MY
3. Verfify settings with:
netsh http show sslcert > registered.certificates.new
4. Reboot machine
Posted: Oktober 1st, 2018 under .Net C#.