I fought with this forever to get my IIS Express to do SSL properly. It turns out my certificate was in the Trusted Root Certification Authorities store instead of the Personal Certificates store. This is what worked for me:
- Make sure your certificate is in “Certificates(Local Computer)/Personal/Certificates”
netsh http add sslcert ipport=0.0.0.0:8732 certhash=0000000000003ed9cd0c315bbb6dc1c08da5e6 appid='{00112233-4455-6677-8899-AABBCCDDEEFF}'
- SSL Certificate successfully added
- Use MMC and drag certificate wherever you want it to go.